Skip to content
Snippets Groups Projects
Commit 413d51eb authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #852394 by Jody Lynn, reglogge: minimal profile + seven leads to broken 'node/add' link.

parent fd887655
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -47,6 +47,9 @@ function seven_node_add_list($variables) { ...@@ -47,6 +47,9 @@ function seven_node_add_list($variables) {
} }
$output .= '</ul>'; $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; return $output;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment