From 413d51ebc5a6772ce33ff373297bb15d9028897c Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Sun, 3 Oct 2010 00:09:28 +0000
Subject: [PATCH] - Patch #852394 by Jody Lynn, reglogge: minimal profile +
 seven leads to broken 'node/add' link.

---
 themes/seven/template.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/themes/seven/template.php b/themes/seven/template.php
index 46e853e87418..f49261b17cd8 100644
--- a/themes/seven/template.php
+++ b/themes/seven/template.php
@@ -47,6 +47,9 @@ function seven_node_add_list($variables) {
     }
     $output .= '</ul>';
   }
+  else {
+    $output = '<p>' . t('You have not created any content types yet. Go to the <a href="@create-content">content type creation page</a> to add a new content type.', array('@create-content' => url('admin/structure/types/add'))) . '</p>';
+  }
   return $output;
 }
 
-- 
GitLab