diff options
Diffstat (limited to 'redmine/app/views/admin')
-rw-r--r-- | redmine/app/views/admin/index.rhtml | 45 | ||||
-rw-r--r-- | redmine/app/views/admin/info.rhtml | 4 | ||||
-rw-r--r-- | redmine/app/views/admin/mail_options.rhtml | 16 | ||||
-rw-r--r-- | redmine/app/views/admin/projects.rhtml | 35 |
4 files changed, 100 insertions, 0 deletions
diff --git a/redmine/app/views/admin/index.rhtml b/redmine/app/views/admin/index.rhtml new file mode 100644 index 000000000..b3607d813 --- /dev/null +++ b/redmine/app/views/admin/index.rhtml @@ -0,0 +1,45 @@ +<h2><%=_('Administration')%></h2>
+
+<p>
+<%= image_tag "projects" %>
+<%= link_to _('Projects'), :controller => 'admin', :action => 'projects' %> |
+<%= link_to _('New'), :controller => 'projects', :action => 'add' %>
+</p>
+
+<p>
+<%= image_tag "users" %>
+<%= link_to _('Users'), :controller => 'users' %> |
+<%= link_to _('New'), :controller => 'users', :action => 'add' %>
+</p>
+
+<p>
+<%= image_tag "role" %>
+<%= link_to _('Roles and permissions'), :controller => 'roles' %>
+</p>
+
+<p>
+<%= image_tag "tracker" %>
+<%= link_to _('Trackers'), :controller => 'trackers' %> |
+<%= link_to _('Custom fields'), :controller => 'custom_fields' %>
+</p>
+
+<p>
+<%= image_tag "workflow" %>
+<%= link_to _('Issue Statuses'), :controller => 'issue_statuses' %> |
+<%= link_to _('Workflow'), :controller => 'roles', :action => 'workflow' %>
+</p>
+
+<p>
+<%= image_tag "options" %>
+<%= link_to _('Enumerations'), :controller => 'enumerations' %>
+</p>
+
+<p>
+<%= image_tag "mailer" %>
+<%= link_to _('Mail notifications'), :controller => 'admin', :action => 'mail_options' %>
+</p>
+
+<p>
+<%= image_tag "help" %>
+<%= link_to _('Information'), :controller => 'admin', :action => 'info' %>
+</p>
\ No newline at end of file diff --git a/redmine/app/views/admin/info.rhtml b/redmine/app/views/admin/info.rhtml new file mode 100644 index 000000000..c73f59c25 --- /dev/null +++ b/redmine/app/views/admin/info.rhtml @@ -0,0 +1,4 @@ +<h2><%=_('Information')%></h2>
+
+<%=_('Version')%>: <%= RDM_APP_NAME %> <%= RDM_APP_VERSION %><br />
+<%=_('Database')%>: <%= @adapter_name %>
\ No newline at end of file diff --git a/redmine/app/views/admin/mail_options.rhtml b/redmine/app/views/admin/mail_options.rhtml new file mode 100644 index 000000000..2d1d80ebb --- /dev/null +++ b/redmine/app/views/admin/mail_options.rhtml @@ -0,0 +1,16 @@ +<h2><%=_('Mail notifications')%></h2>
+
+<p><%=_('Select actions for which mail notification should be enabled.')%></p>
+
+<%= start_form_tag ({}, :id => 'mail_options_form')%>
+<% for action in @actions %>
+ <%= check_box_tag "action_ids[]", action.id, action.mail_enabled? %>
+ <%= action.descr %><br />
+<% end %>
+<br />
+<p>
+<a href="javascript:checkAll('mail_options_form', true)"><%=_('Check all')%></a> |
+<a href="javascript:checkAll('mail_options_form', false)"><%=_('Uncheck all')%></a>
+</p>
+<%= submit_tag _('Save') %>
+<%= end_form_tag %>
\ No newline at end of file diff --git a/redmine/app/views/admin/projects.rhtml b/redmine/app/views/admin/projects.rhtml new file mode 100644 index 000000000..dd3953518 --- /dev/null +++ b/redmine/app/views/admin/projects.rhtml @@ -0,0 +1,35 @@ +<h2><%=_('Projects')%></h2> + +<table width="100%" cellspacing="1" cellpadding="2" class="listTableContent"> + <tr class="ListHead"> + <%= sort_header_tag('projects.name', :caption => _('Project')) %>
+ <th><%=_('Description')%></th>
+ <th><%=_('Public')%></th>
+ <%= sort_header_tag('projects.created_on', :caption => _('Created on')) %>
+ <th></th> + </tr> + +<% odd_or_even = 1
+ for project in @projects
+ odd_or_even = 1 - odd_or_even %> + <tr class="ListLine<%= odd_or_even %>">
+ <td><%= link_to project.name, :controller => 'projects', :action => 'settings', :id => project %>
+ <td><%= project.descr %>
+ <td align="center"><%= image_tag 'true' if project.public? %>
+ <td align="center"><%= format_date(project.created_on) %>
+ <td align="center">
+ <%= start_form_tag({:controller => 'projects', :action => 'destroy', :id => project}) %>
+ <%= submit_tag _('Delete'), :class => "button-small" %>
+ <%= end_form_tag %>
+ </td>
+ </tr> +<% end %> +</table> + +<%= link_to ('« ' + _('Previous')), { :page => @project_pages.current.previous } if @project_pages.current.previous %>
+<%= pagination_links(@project_pages) %> +<%= link_to (_('Next') + ' »'), { :page => @project_pages.current.next } if @project_pages.current.next %>
+
+<br />
+
+<%= link_to ('» ' + _('New project')), :controller => 'projects', :action => 'add' %>
\ No newline at end of file |