summaryrefslogtreecommitdiffstats
path: root/app/views/admin
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-01-08 19:21:59 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-01-08 19:21:59 +0000
commit220641909ca6b6a3a5789868dab780b342517910 (patch)
tree47b773b20c4f6876fbaca30863c2da4f863d0472 /app/views/admin
parent31bc6054a36a08d43a640531648ed3f1dbebac7e (diff)
downloadredmine-220641909ca6b6a3a5789868dab780b342517910.tar.gz
redmine-220641909ca6b6a3a5789868dab780b342517910.zip
* all icons replaced (new icons are based on GPL icon set: "KDE Crystal Diamond 2.5" -by paolino- and "kNeu! Alpha v0.1" -by Pablo Fabregat-)
* fixed: subprojects count is always 0 on projects list git-svn-id: http://redmine.rubyforge.org/svn/trunk@157 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/index.rhtml33
-rw-r--r--app/views/admin/projects.rhtml6
2 files changed, 15 insertions, 24 deletions
diff --git a/app/views/admin/index.rhtml b/app/views/admin/index.rhtml
index d937e287c..901134c27 100644
--- a/app/views/admin/index.rhtml
+++ b/app/views/admin/index.rhtml
@@ -1,50 +1,41 @@
<h2><%=l(:label_administration)%></h2>
-<p>
-<%= image_tag "projects" %>
+<p class="icon22 icon22-projects">
<%= link_to l(:label_project_plural), :controller => 'admin', :action => 'projects' %> |
<%= link_to l(:label_new), :controller => 'projects', :action => 'add' %>
</p>
-<p>
-<%= image_tag "users" %>
+<p class="icon22 icon22-users">
<%= link_to l(:label_user_plural), :controller => 'users' %> |
<%= link_to l(:label_new), :controller => 'users', :action => 'add' %>
</p>
-<p>
-<%= image_tag "role" %>
+<p class="icon22 icon22-role">
<%= link_to l(:label_role_and_permissions), :controller => 'roles' %>
</p>
-<p>
-<%= image_tag "tracker" %>
+<p class="icon22 icon22-tracker">
<%= link_to l(:label_tracker_plural), :controller => 'trackers' %> |
-<%= link_to l(:label_custom_field_plural), :controller => 'custom_fields' %>
-</p>
-
-<p>
-<%= image_tag "workflow" %>
<%= link_to l(:label_issue_status_plural), :controller => 'issue_statuses' %> |
<%= link_to l(:label_workflow), :controller => 'roles', :action => 'workflow' %>
</p>
-<p>
-<%= image_tag "options" %>
+<p class="icon22 icon22-workflow">
+<%= link_to l(:label_custom_field_plural), :controller => 'custom_fields' %>
+</p>
+
+<p class="icon22 icon22-options">
<%= link_to l(:label_enumerations), :controller => 'enumerations' %>
</p>
-<p>
-<%= image_tag "mailer" %>
+<p class="icon22 icon22-notifications">
<%= link_to l(:field_mail_notification), :controller => 'admin', :action => 'mail_options' %>
</p>
-<p>
-<%= image_tag "login" %>
+<p class="icon22 icon22-authent">
<%= link_to l(:label_authentication), :controller => 'auth_sources' %>
</p>
-<p>
-<%= image_tag "help" %>
+<p class="icon22 icon22-info">
<%= link_to l(:label_information_plural), :controller => 'admin', :action => 'info' %>
</p> \ No newline at end of file
diff --git a/app/views/admin/projects.rhtml b/app/views/admin/projects.rhtml
index ecfff0357..b30cf2af5 100644
--- a/app/views/admin/projects.rhtml
+++ b/app/views/admin/projects.rhtml
@@ -1,5 +1,5 @@
<div class="contextual">
-<%= link_to l(:label_project_new), {:controller => 'projects', :action => 'add'}, :class => 'pic picAdd' %>
+<%= link_to l(:label_project_new), {:controller => 'projects', :action => 'add'}, :class => 'icon icon-add' %>
</div>
<h2><%=l(:label_project_plural)%></h2>
@@ -18,8 +18,8 @@
<tr class="<%= cycle("odd", "even") %>">
<td><%= link_to project.name, :controller => 'projects', :action => 'settings', :id => project %>
<td><%=h project.description %>
- <td align="center"><%= image_tag 'true' if project.is_public? %>
- <td align="center"><%= project.projects_count %>
+ <td align="center"><%= image_tag 'true.png' if project.is_public? %>
+ <td align="center"><%= project.children_count %>
<td align="center"><%= format_date(project.created_on) %>
<td align="center">
<%= button_to l(:button_delete), { :controller => 'projects', :action => 'destroy', :id => project }, :class => "button-small" %>