summaryrefslogtreecommitdiffstats
path: root/app/views/admin
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2006-12-16 12:15:31 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2006-12-16 12:15:31 +0000
commit236c735d08c097cfe1a7e5f5c52a9dd6711250aa (patch)
treed819b1a914651602c965cc32f0ce04dd90fdd052 /app/views/admin
parente5562afcd30998c0ed3d5b40c0a9c1cb3367518d (diff)
downloadredmine-236c735d08c097cfe1a7e5f5c52a9dd6711250aa.tar.gz
redmine-236c735d08c097cfe1a7e5f5c52a9dd6711250aa.zip
contextual links redesign
git-svn-id: http://redmine.rubyforge.org/svn/trunk@93 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/projects.rhtml8
1 files changed, 5 insertions, 3 deletions
diff --git a/app/views/admin/projects.rhtml b/app/views/admin/projects.rhtml
index 39e4d9bf7..0772c4e8b 100644
--- a/app/views/admin/projects.rhtml
+++ b/app/views/admin/projects.rhtml
@@ -1,3 +1,7 @@
+<div class="contextual">
+<%= link_to l(:label_project_new), {:controller => 'projects', :action => 'add'}, :class => 'pic picAdd' %>
+</div>
+
<h2><%=l(:label_project_plural)%></h2>
<table class="listTableContent">
@@ -25,6 +29,4 @@
</table>
<p><%= pagination_links_full @project_pages %>
-[ <%= @project_pages.current.first_item %> - <%= @project_pages.current.last_item %> / <%= @project_count %> ]</p>
-
-<p><%= link_to ('&#187; ' + l(:label_project_new)), :controller => 'projects', :action => 'add' %></p> \ No newline at end of file
+[ <%= @project_pages.current.first_item %> - <%= @project_pages.current.last_item %> / <%= @project_count %> ]</p> \ No newline at end of file