From 96f83cc8f0f032554f771a59da22303cd473b878 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 5 Dec 2006 20:45:04 +0000 Subject: trunk moved from /trunk/redmine to /trunk git-svn-id: http://redmine.rubyforge.org/svn/trunk@67 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- redmine/app/views/account/login.rhtml | 18 -- redmine/app/views/account/lost_password.rhtml | 14 -- redmine/app/views/account/password_recovery.rhtml | 21 -- redmine/app/views/account/register.rhtml | 39 ---- redmine/app/views/account/show.rhtml | 26 --- redmine/app/views/admin/index.rhtml | 50 ----- redmine/app/views/admin/info.rhtml | 10 - redmine/app/views/admin/mail_options.rhtml | 24 -- redmine/app/views/admin/projects.rhtml | 30 --- redmine/app/views/auth_sources/_form.rhtml | 45 ---- redmine/app/views/auth_sources/edit.rhtml | 7 - redmine/app/views/auth_sources/list.rhtml | 30 --- redmine/app/views/auth_sources/new.rhtml | 6 - redmine/app/views/custom_fields/_form.rhtml | 52 ----- redmine/app/views/custom_fields/edit.rhtml | 6 - redmine/app/views/custom_fields/list.rhtml | 36 --- redmine/app/views/custom_fields/new.rhtml | 8 - redmine/app/views/documents/_form.rhtml | 29 --- redmine/app/views/documents/edit.rhtml | 8 - redmine/app/views/documents/show.rhtml | 48 ---- redmine/app/views/enumerations/_form.rhtml | 9 - redmine/app/views/enumerations/edit.rhtml | 10 - redmine/app/views/enumerations/list.rhtml | 21 -- redmine/app/views/enumerations/new.rhtml | 6 - redmine/app/views/issue_categories/_form.rhtml | 7 - redmine/app/views/issue_categories/edit.rhtml | 6 - redmine/app/views/issue_statuses/_form.rhtml | 18 -- redmine/app/views/issue_statuses/edit.rhtml | 6 - redmine/app/views/issue_statuses/list.rhtml | 28 --- redmine/app/views/issue_statuses/new.rhtml | 6 - redmine/app/views/issues/_history.rhtml | 11 - redmine/app/views/issues/_list_simple.rhtml | 28 --- redmine/app/views/issues/_pdf.rfpdf | 100 --------- redmine/app/views/issues/change_status.rhtml | 37 ---- redmine/app/views/issues/edit.rhtml | 49 ----- redmine/app/views/issues/export_pdf.rfpdf | 9 - redmine/app/views/issues/history.rhtml | 6 - redmine/app/views/issues/show.rhtml | 133 ------------ redmine/app/views/layouts/base.rhtml | 142 ------------ redmine/app/views/mailer/_issue.rhtml | 7 - redmine/app/views/mailer/issue_add_de.rhtml | 3 - redmine/app/views/mailer/issue_add_en.rhtml | 3 - redmine/app/views/mailer/issue_add_es.rhtml | 3 - redmine/app/views/mailer/issue_add_fr.rhtml | 3 - redmine/app/views/mailer/issue_edit_de.rhtml | 8 - redmine/app/views/mailer/issue_edit_en.rhtml | 8 - redmine/app/views/mailer/issue_edit_es.rhtml | 8 - redmine/app/views/mailer/issue_edit_fr.rhtml | 8 - redmine/app/views/mailer/lost_password_de.rhtml | 3 - redmine/app/views/mailer/lost_password_en.rhtml | 3 - redmine/app/views/mailer/lost_password_es.rhtml | 3 - redmine/app/views/mailer/lost_password_fr.rhtml | 3 - redmine/app/views/mailer/register_de.rhtml | 3 - redmine/app/views/mailer/register_en.rhtml | 3 - redmine/app/views/mailer/register_es.rhtml | 3 - redmine/app/views/mailer/register_fr.rhtml | 3 - redmine/app/views/my/_block.rhtml | 16 -- redmine/app/views/my/account.rhtml | 47 ---- redmine/app/views/my/blocks/_calendar.rhtml | 45 ---- redmine/app/views/my/blocks/_documents.rhtml | 15 -- .../views/my/blocks/_issues_assigned_to_me.rhtml | 10 - .../views/my/blocks/_issues_reported_by_me.rhtml | 10 - redmine/app/views/my/blocks/_latest_news.rhtml | 13 -- redmine/app/views/my/page.rhtml | 30 --- redmine/app/views/my/page_layout.rhtml | 121 ----------- redmine/app/views/news/_form.rhtml | 20 -- redmine/app/views/news/edit.rhtml | 6 - redmine/app/views/news/show.rhtml | 16 -- redmine/app/views/projects/_form.rhtml | 26 --- redmine/app/views/projects/activity.rhtml | 41 ---- redmine/app/views/projects/add.rhtml | 6 - redmine/app/views/projects/add_document.rhtml | 14 -- redmine/app/views/projects/add_file.rhtml | 14 -- redmine/app/views/projects/add_issue.rhtml | 50 ----- redmine/app/views/projects/add_news.rhtml | 6 - redmine/app/views/projects/add_version.rhtml | 6 - redmine/app/views/projects/calendar.rhtml | 75 ------- redmine/app/views/projects/changelog.rhtml | 28 --- redmine/app/views/projects/destroy.rhtml | 14 -- redmine/app/views/projects/export_issues_pdf.rfpdf | 11 - redmine/app/views/projects/gantt.rfpdf | 168 -------------- redmine/app/views/projects/gantt.rhtml | 241 --------------------- redmine/app/views/projects/list.rhtml | 20 -- redmine/app/views/projects/list_documents.rhtml | 23 -- redmine/app/views/projects/list_files.rhtml | 46 ---- redmine/app/views/projects/list_issues.rhtml | 76 ------- redmine/app/views/projects/list_members.rhtml | 11 - redmine/app/views/projects/list_news.rhtml | 18 -- redmine/app/views/projects/move_issues.rhtml | 24 -- redmine/app/views/projects/settings.rhtml | 118 ---------- redmine/app/views/projects/show.rhtml | 72 ------ redmine/app/views/reports/_details.rhtml | 47 ---- redmine/app/views/reports/_simple.rhtml | 36 --- redmine/app/views/reports/issue_report.rhtml | 20 -- .../app/views/reports/issue_report_details.rhtml | 7 - redmine/app/views/roles/_form.rhtml | 20 -- redmine/app/views/roles/edit.rhtml | 6 - redmine/app/views/roles/list.rhtml | 21 -- redmine/app/views/roles/new.rhtml | 6 - redmine/app/views/roles/workflow.rhtml | 71 ------ redmine/app/views/trackers/_form.rhtml | 7 - redmine/app/views/trackers/edit.rhtml | 6 - redmine/app/views/trackers/list.rhtml | 22 -- redmine/app/views/trackers/new.rhtml | 6 - redmine/app/views/users/_form.rhtml | 30 --- redmine/app/views/users/add.rhtml | 6 - redmine/app/views/users/edit.rhtml | 6 - redmine/app/views/users/list.rhtml | 46 ---- redmine/app/views/versions/_form.rhtml | 9 - redmine/app/views/versions/edit.rhtml | 7 - redmine/app/views/welcome/index.rhtml | 30 --- 111 files changed, 3080 deletions(-) delete mode 100644 redmine/app/views/account/login.rhtml delete mode 100644 redmine/app/views/account/lost_password.rhtml delete mode 100644 redmine/app/views/account/password_recovery.rhtml delete mode 100644 redmine/app/views/account/register.rhtml delete mode 100644 redmine/app/views/account/show.rhtml delete mode 100644 redmine/app/views/admin/index.rhtml delete mode 100644 redmine/app/views/admin/info.rhtml delete mode 100644 redmine/app/views/admin/mail_options.rhtml delete mode 100644 redmine/app/views/admin/projects.rhtml delete mode 100644 redmine/app/views/auth_sources/_form.rhtml delete mode 100644 redmine/app/views/auth_sources/edit.rhtml delete mode 100644 redmine/app/views/auth_sources/list.rhtml delete mode 100644 redmine/app/views/auth_sources/new.rhtml delete mode 100644 redmine/app/views/custom_fields/_form.rhtml delete mode 100644 redmine/app/views/custom_fields/edit.rhtml delete mode 100644 redmine/app/views/custom_fields/list.rhtml delete mode 100644 redmine/app/views/custom_fields/new.rhtml delete mode 100644 redmine/app/views/documents/_form.rhtml delete mode 100644 redmine/app/views/documents/edit.rhtml delete mode 100644 redmine/app/views/documents/show.rhtml delete mode 100644 redmine/app/views/enumerations/_form.rhtml delete mode 100644 redmine/app/views/enumerations/edit.rhtml delete mode 100644 redmine/app/views/enumerations/list.rhtml delete mode 100644 redmine/app/views/enumerations/new.rhtml delete mode 100644 redmine/app/views/issue_categories/_form.rhtml delete mode 100644 redmine/app/views/issue_categories/edit.rhtml delete mode 100644 redmine/app/views/issue_statuses/_form.rhtml delete mode 100644 redmine/app/views/issue_statuses/edit.rhtml delete mode 100644 redmine/app/views/issue_statuses/list.rhtml delete mode 100644 redmine/app/views/issue_statuses/new.rhtml delete mode 100644 redmine/app/views/issues/_history.rhtml delete mode 100644 redmine/app/views/issues/_list_simple.rhtml delete mode 100644 redmine/app/views/issues/_pdf.rfpdf delete mode 100644 redmine/app/views/issues/change_status.rhtml delete mode 100644 redmine/app/views/issues/edit.rhtml delete mode 100644 redmine/app/views/issues/export_pdf.rfpdf delete mode 100644 redmine/app/views/issues/history.rhtml delete mode 100644 redmine/app/views/issues/show.rhtml delete mode 100644 redmine/app/views/layouts/base.rhtml delete mode 100644 redmine/app/views/mailer/_issue.rhtml delete mode 100644 redmine/app/views/mailer/issue_add_de.rhtml delete mode 100644 redmine/app/views/mailer/issue_add_en.rhtml delete mode 100644 redmine/app/views/mailer/issue_add_es.rhtml delete mode 100644 redmine/app/views/mailer/issue_add_fr.rhtml delete mode 100644 redmine/app/views/mailer/issue_edit_de.rhtml delete mode 100644 redmine/app/views/mailer/issue_edit_en.rhtml delete mode 100644 redmine/app/views/mailer/issue_edit_es.rhtml delete mode 100644 redmine/app/views/mailer/issue_edit_fr.rhtml delete mode 100644 redmine/app/views/mailer/lost_password_de.rhtml delete mode 100644 redmine/app/views/mailer/lost_password_en.rhtml delete mode 100644 redmine/app/views/mailer/lost_password_es.rhtml delete mode 100644 redmine/app/views/mailer/lost_password_fr.rhtml delete mode 100644 redmine/app/views/mailer/register_de.rhtml delete mode 100644 redmine/app/views/mailer/register_en.rhtml delete mode 100644 redmine/app/views/mailer/register_es.rhtml delete mode 100644 redmine/app/views/mailer/register_fr.rhtml delete mode 100644 redmine/app/views/my/_block.rhtml delete mode 100644 redmine/app/views/my/account.rhtml delete mode 100644 redmine/app/views/my/blocks/_calendar.rhtml delete mode 100644 redmine/app/views/my/blocks/_documents.rhtml delete mode 100644 redmine/app/views/my/blocks/_issues_assigned_to_me.rhtml delete mode 100644 redmine/app/views/my/blocks/_issues_reported_by_me.rhtml delete mode 100644 redmine/app/views/my/blocks/_latest_news.rhtml delete mode 100644 redmine/app/views/my/page.rhtml delete mode 100644 redmine/app/views/my/page_layout.rhtml delete mode 100644 redmine/app/views/news/_form.rhtml delete mode 100644 redmine/app/views/news/edit.rhtml delete mode 100644 redmine/app/views/news/show.rhtml delete mode 100644 redmine/app/views/projects/_form.rhtml delete mode 100644 redmine/app/views/projects/activity.rhtml delete mode 100644 redmine/app/views/projects/add.rhtml delete mode 100644 redmine/app/views/projects/add_document.rhtml delete mode 100644 redmine/app/views/projects/add_file.rhtml delete mode 100644 redmine/app/views/projects/add_issue.rhtml delete mode 100644 redmine/app/views/projects/add_news.rhtml delete mode 100644 redmine/app/views/projects/add_version.rhtml delete mode 100644 redmine/app/views/projects/calendar.rhtml delete mode 100644 redmine/app/views/projects/changelog.rhtml delete mode 100644 redmine/app/views/projects/destroy.rhtml delete mode 100644 redmine/app/views/projects/export_issues_pdf.rfpdf delete mode 100644 redmine/app/views/projects/gantt.rfpdf delete mode 100644 redmine/app/views/projects/gantt.rhtml delete mode 100644 redmine/app/views/projects/list.rhtml delete mode 100644 redmine/app/views/projects/list_documents.rhtml delete mode 100644 redmine/app/views/projects/list_files.rhtml delete mode 100644 redmine/app/views/projects/list_issues.rhtml delete mode 100644 redmine/app/views/projects/list_members.rhtml delete mode 100644 redmine/app/views/projects/list_news.rhtml delete mode 100644 redmine/app/views/projects/move_issues.rhtml delete mode 100644 redmine/app/views/projects/settings.rhtml delete mode 100644 redmine/app/views/projects/show.rhtml delete mode 100644 redmine/app/views/reports/_details.rhtml delete mode 100644 redmine/app/views/reports/_simple.rhtml delete mode 100644 redmine/app/views/reports/issue_report.rhtml delete mode 100644 redmine/app/views/reports/issue_report_details.rhtml delete mode 100644 redmine/app/views/roles/_form.rhtml delete mode 100644 redmine/app/views/roles/edit.rhtml delete mode 100644 redmine/app/views/roles/list.rhtml delete mode 100644 redmine/app/views/roles/new.rhtml delete mode 100644 redmine/app/views/roles/workflow.rhtml delete mode 100644 redmine/app/views/trackers/_form.rhtml delete mode 100644 redmine/app/views/trackers/edit.rhtml delete mode 100644 redmine/app/views/trackers/list.rhtml delete mode 100644 redmine/app/views/trackers/new.rhtml delete mode 100644 redmine/app/views/users/_form.rhtml delete mode 100644 redmine/app/views/users/add.rhtml delete mode 100644 redmine/app/views/users/edit.rhtml delete mode 100644 redmine/app/views/users/list.rhtml delete mode 100644 redmine/app/views/versions/_form.rhtml delete mode 100644 redmine/app/views/versions/edit.rhtml delete mode 100644 redmine/app/views/welcome/index.rhtml (limited to 'redmine/app/views') diff --git a/redmine/app/views/account/login.rhtml b/redmine/app/views/account/login.rhtml deleted file mode 100644 index 74c075516..000000000 --- a/redmine/app/views/account/login.rhtml +++ /dev/null @@ -1,18 +0,0 @@ -
- -
\ No newline at end of file diff --git a/redmine/app/views/account/lost_password.rhtml b/redmine/app/views/account/lost_password.rhtml deleted file mode 100644 index 3f32e7153..000000000 --- a/redmine/app/views/account/lost_password.rhtml +++ /dev/null @@ -1,14 +0,0 @@ -
- -
\ No newline at end of file diff --git a/redmine/app/views/account/password_recovery.rhtml b/redmine/app/views/account/password_recovery.rhtml deleted file mode 100644 index 39a8071a9..000000000 --- a/redmine/app/views/account/password_recovery.rhtml +++ /dev/null @@ -1,21 +0,0 @@ -
- -
\ No newline at end of file diff --git a/redmine/app/views/account/register.rhtml b/redmine/app/views/account/register.rhtml deleted file mode 100644 index b34aff79c..000000000 --- a/redmine/app/views/account/register.rhtml +++ /dev/null @@ -1,39 +0,0 @@ -

<%=l(:label_register)%>

- -<%= start_form_tag({:action => 'register'}, :class => "tabular") %> -<%= error_messages_for 'user' %> - -
- -

-<%= text_field 'user', 'login', :size => 25 %>

- -

-<%= password_field_tag 'password', nil, :size => 25 %>

- -

-<%= password_field_tag 'password_confirmation', nil, :size => 25 %>

- -

-<%= text_field 'user', 'firstname' %>

- -

-<%= text_field 'user', 'lastname' %>

- -

-<%= text_field 'user', 'mail' %>

- -

-<%= select("user", "language", lang_options_for_select) %>

- -<% for @custom_value in @custom_values %> -

<%= custom_field_tag_with_label @custom_value %>

-<% end %> - -

-<%= check_box 'user', 'mail_notification' %>

- -
- -<%= submit_tag l(:button_submit) %> -<%= end_form_tag %> diff --git a/redmine/app/views/account/show.rhtml b/redmine/app/views/account/show.rhtml deleted file mode 100644 index 985238951..000000000 --- a/redmine/app/views/account/show.rhtml +++ /dev/null @@ -1,26 +0,0 @@ -

<%= @user.display_name %>

- -

-<%= mail_to @user.mail unless @user.pref.hide_mail %> -

-

- -

<%=l(:label_project_plural)%>

-

-<% for membership in @user.memberships %> - <%= membership.project.name %> (<%= membership.role.name %>, <%= format_date(membership.created_on) %>) -
-<% end %> -

- -

<%=l(:label_activity)%>

-

-<%=l(:label_reported_issues)%>: <%= Issue.count(["author_id=?", @user.id]) %> -

\ No newline at end of file diff --git a/redmine/app/views/admin/index.rhtml b/redmine/app/views/admin/index.rhtml deleted file mode 100644 index d937e287c..000000000 --- a/redmine/app/views/admin/index.rhtml +++ /dev/null @@ -1,50 +0,0 @@ -

<%=l(:label_administration)%>

- -

-<%= image_tag "projects" %> -<%= link_to l(:label_project_plural), :controller => 'admin', :action => 'projects' %> | -<%= link_to l(:label_new), :controller => 'projects', :action => 'add' %> -

- -

-<%= image_tag "users" %> -<%= link_to l(:label_user_plural), :controller => 'users' %> | -<%= link_to l(:label_new), :controller => 'users', :action => 'add' %> -

- -

-<%= image_tag "role" %> -<%= link_to l(:label_role_and_permissions), :controller => 'roles' %> -

- -

-<%= image_tag "tracker" %> -<%= link_to l(:label_tracker_plural), :controller => 'trackers' %> | -<%= link_to l(:label_custom_field_plural), :controller => 'custom_fields' %> -

- -

-<%= image_tag "workflow" %> -<%= link_to l(:label_issue_status_plural), :controller => 'issue_statuses' %> | -<%= link_to l(:label_workflow), :controller => 'roles', :action => 'workflow' %> -

- -

-<%= image_tag "options" %> -<%= link_to l(:label_enumerations), :controller => 'enumerations' %> -

- -

-<%= image_tag "mailer" %> -<%= link_to l(:field_mail_notification), :controller => 'admin', :action => 'mail_options' %> -

- -

-<%= image_tag "login" %> -<%= link_to l(:label_authentication), :controller => 'auth_sources' %> -

- -

-<%= image_tag "help" %> -<%= link_to l(:label_information_plural), :controller => 'admin', :action => 'info' %> -

\ No newline at end of file diff --git a/redmine/app/views/admin/info.rhtml b/redmine/app/views/admin/info.rhtml deleted file mode 100644 index 4777a151e..000000000 --- a/redmine/app/views/admin/info.rhtml +++ /dev/null @@ -1,10 +0,0 @@ -

<%=l(:label_information_plural)%>

- -

<%=l(:field_version)%>: <%= RDM_APP_NAME %> <%= RDM_APP_VERSION %>

- -<%=l(:label_environment)%>: - \ No newline at end of file diff --git a/redmine/app/views/admin/mail_options.rhtml b/redmine/app/views/admin/mail_options.rhtml deleted file mode 100644 index 54e2daf3e..000000000 --- a/redmine/app/views/admin/mail_options.rhtml +++ /dev/null @@ -1,24 +0,0 @@ -

<%=l(:field_mail_notification)%>

- -<%= start_form_tag ({}, :id => 'mail_options_form')%> - -
-

<%=l(:text_select_mail_notifications)%>

- -<% actions = @actions.group_by {|p| p.group_id } %> -<% actions.keys.sort.each do |group_id| %> -
<%= l(Permission::GROUPS[group_id]) %> -<% actions[group_id].each do |p| %> -
<%= check_box_tag "action_ids[]", p.id, p.mail_enabled? %> - <%= l(p.description.to_sym) %> -
-<% end %> -
-<% end %> - -
-

<%= check_all_links 'mail_options_form' %>

-
- -<%= submit_tag l(:button_save) %> -<%= end_form_tag %> diff --git a/redmine/app/views/admin/projects.rhtml b/redmine/app/views/admin/projects.rhtml deleted file mode 100644 index 39e4d9bf7..000000000 --- a/redmine/app/views/admin/projects.rhtml +++ /dev/null @@ -1,30 +0,0 @@ -

<%=l(:label_project_plural)%>

- - - - <%= sort_header_tag('name', :caption => l(:label_project)) %> - - - - <%= sort_header_tag('created_on', :caption => l(:field_created_on)) %> - - - -<% for project in @projects %> - "> - - -<% end %> -
<%=l(:field_description)%><%=l(:field_is_public)%><%=l(:label_subproject_plural)%>
<%= link_to project.name, :controller => 'projects', :action => 'settings', :id => project %> - <%= project.description %> - <%= image_tag 'true' if project.is_public? %> - <%= project.projects_count %> - <%= format_date(project.created_on) %> - - <%= button_to l(:button_delete), { :controller => 'projects', :action => 'destroy', :id => project }, :class => "button-small" %> -
- -

<%= pagination_links_full @project_pages %> -[ <%= @project_pages.current.first_item %> - <%= @project_pages.current.last_item %> / <%= @project_count %> ]

- -

<%= link_to ('» ' + l(:label_project_new)), :controller => 'projects', :action => 'add' %>

\ No newline at end of file diff --git a/redmine/app/views/auth_sources/_form.rhtml b/redmine/app/views/auth_sources/_form.rhtml deleted file mode 100644 index b6365dce5..000000000 --- a/redmine/app/views/auth_sources/_form.rhtml +++ /dev/null @@ -1,45 +0,0 @@ -<%= error_messages_for 'auth_source' %> - -
- -

-<%= text_field 'auth_source', 'name' %>

- -

-<%= text_field 'auth_source', 'host' %>

- -

-<%= text_field 'auth_source', 'port', :size => 6 %>

- -

-<%= text_field 'auth_source', 'account' %>

- -

-<%= password_field 'auth_source', 'account_password' %>

- -

-<%= text_field 'auth_source', 'base_dn', :size => 60 %>

-
- -
-

-<%= check_box 'auth_source', 'onthefly_register' %>

- -

-

<%=l(:label_attribute_plural)%> -

-<%= text_field 'auth_source', 'attr_login', :size => 20 %>

- -

-<%= text_field 'auth_source', 'attr_firstname', :size => 20 %>

- -

-<%= text_field 'auth_source', 'attr_lastname', :size => 20 %>

- -

-<%= text_field 'auth_source', 'attr_mail', :size => 20 %>

-
-

-
- - diff --git a/redmine/app/views/auth_sources/edit.rhtml b/redmine/app/views/auth_sources/edit.rhtml deleted file mode 100644 index 149463e7f..000000000 --- a/redmine/app/views/auth_sources/edit.rhtml +++ /dev/null @@ -1,7 +0,0 @@ -

<%=l(:label_auth_source)%> (<%= @auth_source.auth_method_name %>)

- -<%= start_form_tag({:action => 'update', :id => @auth_source}, :class => "tabular") %> - <%= render :partial => 'form' %> - <%= submit_tag l(:button_save) %> -<%= end_form_tag %> - diff --git a/redmine/app/views/auth_sources/list.rhtml b/redmine/app/views/auth_sources/list.rhtml deleted file mode 100644 index 47cbeeaff..000000000 --- a/redmine/app/views/auth_sources/list.rhtml +++ /dev/null @@ -1,30 +0,0 @@ -

<%=l(:label_auth_source_plural)%>

- - - - - - - - - - -<% for source in @auth_sources %> - "> - - - - - - -<% end %> -
<%=l(:field_name)%><%=l(:field_type)%><%=l(:field_host)%>
<%= link_to source.name, :action => 'edit', :id => source%><%= source.auth_method_name %><%= source.host %> - <%= link_to l(:button_test), :action => 'test_connection', :id => source %> - - <%= button_to l(:button_delete), { :action => 'destroy', :id => source }, :confirm => l(:text_are_you_sure), :class => "button-small" %> -
- -<%= pagination_links_full @auth_source_pages %> -
-<%= link_to '» ' + l(:label_auth_source_new), :action => 'new' %> - diff --git a/redmine/app/views/auth_sources/new.rhtml b/redmine/app/views/auth_sources/new.rhtml deleted file mode 100644 index 29d66327b..000000000 --- a/redmine/app/views/auth_sources/new.rhtml +++ /dev/null @@ -1,6 +0,0 @@ -

<%=l(:label_auth_source_new)%> (<%= @auth_source.auth_method_name %>)

- -<%= start_form_tag({:action => 'create'}, :class => "tabular") %> - <%= render :partial => 'form' %> - <%= submit_tag l(:button_create) %> -<%= end_form_tag %> diff --git a/redmine/app/views/custom_fields/_form.rhtml b/redmine/app/views/custom_fields/_form.rhtml deleted file mode 100644 index f7f968e33..000000000 --- a/redmine/app/views/custom_fields/_form.rhtml +++ /dev/null @@ -1,52 +0,0 @@ -<%= error_messages_for 'custom_field' %> - - -
-

-<%= text_field 'custom_field', 'name' %>

- -

-<%= select("custom_field", "field_format", custom_field_formats_for_select) %>

- -

-<%= text_field 'custom_field', 'min_length', :size => 5 %> - -<%= text_field 'custom_field', 'max_length', :size => 5 %>
(<%=l(:text_min_max_length_info)%>)

- -

-<%= text_field 'custom_field', 'regexp', :size => 50 %>
(<%=l(:text_regexp_info)%>)

- -

-<%= text_area 'custom_field', 'possible_values', :rows => 5, :cols => 60 %>
(<%=l(:text_possible_values_info)%>)

-
- - -
-<% case type.to_s - when "IssueCustomField" %> - -
<%=l(:label_tracker_plural)%> -<% for tracker in @trackers %> - checked="checked"<%end%> - > <%= tracker.name %> -<% end %>
-  - -

-<%= check_box 'custom_field', 'is_required' %>

- -

-<%= check_box 'custom_field', 'is_for_all' %>

- -<% when "UserCustomField" %> -

-<%= check_box 'custom_field', 'is_required' %>

- -<% when "ProjectCustomField" %> -

-<%= check_box 'custom_field', 'is_required' %>

- -<% end %> -
diff --git a/redmine/app/views/custom_fields/edit.rhtml b/redmine/app/views/custom_fields/edit.rhtml deleted file mode 100644 index 201047a8d..000000000 --- a/redmine/app/views/custom_fields/edit.rhtml +++ /dev/null @@ -1,6 +0,0 @@ -

<%=l(:label_custom_field)%> (<%=l(@custom_field.type_name)%>)

- -<%= start_form_tag({:action => 'edit', :id => @custom_field}, :class => "tabular") %> - <%= render :partial => 'form', :locals => { :type => @custom_field.type } %> - <%= submit_tag l(:button_save) %> -<%= end_form_tag %> diff --git a/redmine/app/views/custom_fields/list.rhtml b/redmine/app/views/custom_fields/list.rhtml deleted file mode 100644 index 858590c49..000000000 --- a/redmine/app/views/custom_fields/list.rhtml +++ /dev/null @@ -1,36 +0,0 @@ -

<%=l(:label_custom_field_plural)%>

- - - - - - - - - - - -<% for custom_field in @custom_fields %> - "> - - - - - - - - -<% end %> -
<%=l(:field_name)%><%=l(:field_type)%><%=l(:field_field_format)%><%=l(:field_is_required)%><%=l(:field_is_for_all)%><%=l(:label_used_by)%>
<%= link_to custom_field.name, :action => 'edit', :id => custom_field %><%= l(custom_field.type_name) %><%= l(CustomField::FIELD_FORMATS[custom_field.field_format]) %><%= image_tag 'true' if custom_field.is_required? %><%= image_tag 'true' if custom_field.is_for_all? %><%= custom_field.projects.count.to_s + ' ' + lwr(:label_project, custom_field.projects.count) if custom_field.is_a? IssueCustomField and !custom_field.is_for_all? %> - <%= button_to l(:button_delete), { :action => 'destroy', :id => custom_field }, :confirm => l(:text_are_you_sure), :class => "button-small" %> -
- -<%= pagination_links_full @custom_field_pages %> - -
-<%=l(:label_custom_field_new)%>: - diff --git a/redmine/app/views/custom_fields/new.rhtml b/redmine/app/views/custom_fields/new.rhtml deleted file mode 100644 index 3b215dc9f..000000000 --- a/redmine/app/views/custom_fields/new.rhtml +++ /dev/null @@ -1,8 +0,0 @@ -

<%=l(:label_custom_field_new)%> (<%=l(@custom_field.type_name)%>)

- -<%= start_form_tag({:action => 'new'}, :class => "tabular") %> - <%= render :partial => 'form', :locals => { :type => @custom_field.type } %> - <%= hidden_field_tag 'type', @custom_field.type %> - <%= submit_tag l(:button_save) %> -<%= end_form_tag %> - diff --git a/redmine/app/views/documents/_form.rhtml b/redmine/app/views/documents/_form.rhtml deleted file mode 100644 index 873c96329..000000000 --- a/redmine/app/views/documents/_form.rhtml +++ /dev/null @@ -1,29 +0,0 @@ -<%= error_messages_for 'document' %> -
- -

-

- -

-<%= text_field 'document', 'title', :size => 60 %>

- -

-<%= text_area 'document', 'description', :cols => 60, :rows => 15 %>

- -
- -<% unless $RDM_TEXTILE_DISABLED %> -<%= javascript_include_tag 'jstoolbar' %> - -<% end %> \ No newline at end of file diff --git a/redmine/app/views/documents/edit.rhtml b/redmine/app/views/documents/edit.rhtml deleted file mode 100644 index 3db4bcc6a..000000000 --- a/redmine/app/views/documents/edit.rhtml +++ /dev/null @@ -1,8 +0,0 @@ -

<%=l(:label_document)%>

- -<%= start_form_tag({:action => 'edit', :id => @document}, :class => "tabular") %> - <%= render :partial => 'form' %> - <%= submit_tag l(:button_save) %> -<%= end_form_tag %> - - diff --git a/redmine/app/views/documents/show.rhtml b/redmine/app/views/documents/show.rhtml deleted file mode 100644 index 2f021e1b8..000000000 --- a/redmine/app/views/documents/show.rhtml +++ /dev/null @@ -1,48 +0,0 @@ -

<%= @document.title %>

- -

<%= @document.category.name %>
-<%= format_date @document.created_on %>

-<%= textilizable @document.description %> - - - - - -
<%= link_to_if_authorized l(:button_edit), :controller => 'documents', :action => 'edit', :id => @document %> -<% if authorize_for('documents', 'destroy') %> - <%= start_form_tag({ :controller => 'documents', :action => 'destroy', :id => @document } ) %> - <%= submit_tag l(:button_delete) %> - <%= end_form_tag %> -<% end %> -
-
- -

<%= l(:label_attachment_plural) %>

- -
- - -<% if authorize_for('documents', 'add_attachment') %> - <%= start_form_tag ({ :controller => 'documents', :action => 'add_attachment', :id => @document }, :multipart => true) %> -    - <%= file_field 'attachment', 'file' %> - <%= submit_tag l(:button_add) %> - <%= end_form_tag %> -<% end %> diff --git a/redmine/app/views/enumerations/_form.rhtml b/redmine/app/views/enumerations/_form.rhtml deleted file mode 100644 index 637605939..000000000 --- a/redmine/app/views/enumerations/_form.rhtml +++ /dev/null @@ -1,9 +0,0 @@ -<%= error_messages_for 'enumeration' %> -
- -<%= hidden_field 'enumeration', 'opt' %> - -

-<%= text_field 'enumeration', 'name' %>

- -
\ No newline at end of file diff --git a/redmine/app/views/enumerations/edit.rhtml b/redmine/app/views/enumerations/edit.rhtml deleted file mode 100644 index 3002b5936..000000000 --- a/redmine/app/views/enumerations/edit.rhtml +++ /dev/null @@ -1,10 +0,0 @@ -

<%=l(:label_enumerations)%>

- -<%= start_form_tag({:action => 'update', :id => @enumeration}, :class => "tabular") %> - <%= render :partial => 'form' %> - <%= submit_tag l(:button_save) %> -<%= end_form_tag %> - -<%= start_form_tag :action => 'destroy', :id => @enumeration %> - <%= submit_tag l(:button_delete) %> -<%= end_form_tag %> \ No newline at end of file diff --git a/redmine/app/views/enumerations/list.rhtml b/redmine/app/views/enumerations/list.rhtml deleted file mode 100644 index 15b91c1ac..000000000 --- a/redmine/app/views/enumerations/list.rhtml +++ /dev/null @@ -1,21 +0,0 @@ -

<%=l(:label_enumerations)%>

- -<% Enumeration::OPTIONS.each do |option, name| %> - - <% if @params[:opt]==option %> - -

<%= image_tag 'dir_open' %> <%= l(name) %>

- - - - <% else %> -

<%= image_tag 'dir' %> <%= link_to l(name), :opt => option %>

- <% end %> - -<% end %> \ No newline at end of file diff --git a/redmine/app/views/enumerations/new.rhtml b/redmine/app/views/enumerations/new.rhtml deleted file mode 100644 index 0a773519d..000000000 --- a/redmine/app/views/enumerations/new.rhtml +++ /dev/null @@ -1,6 +0,0 @@ -

<%= l(@enumeration.option_name) %>: <%=l(:label_enumeration_new)%>

- -<%= start_form_tag({:action => 'create'}, :class => "tabular") %> - <%= render :partial => 'form' %> - <%= submit_tag l(:button_create) %> -<%= end_form_tag %> diff --git a/redmine/app/views/issue_categories/_form.rhtml b/redmine/app/views/issue_categories/_form.rhtml deleted file mode 100644 index 765b8f53d..000000000 --- a/redmine/app/views/issue_categories/_form.rhtml +++ /dev/null @@ -1,7 +0,0 @@ -<%= error_messages_for 'issue_category' %> - - -

-<%= text_field 'issue_category', 'name' %>

- - diff --git a/redmine/app/views/issue_categories/edit.rhtml b/redmine/app/views/issue_categories/edit.rhtml deleted file mode 100644 index 053facbf7..000000000 --- a/redmine/app/views/issue_categories/edit.rhtml +++ /dev/null @@ -1,6 +0,0 @@ -

<%=l(:label_issue_category)%>

- -<%= start_form_tag({:action => 'edit', :id => @category}, :class => "tabular") %> - <%= render :partial => 'form' %> - <%= submit_tag l(:button_save) %> -<%= end_form_tag %> diff --git a/redmine/app/views/issue_statuses/_form.rhtml b/redmine/app/views/issue_statuses/_form.rhtml deleted file mode 100644 index f3b1cf2ca..000000000 --- a/redmine/app/views/issue_statuses/_form.rhtml +++ /dev/null @@ -1,18 +0,0 @@ -<%= error_messages_for 'issue_status' %> - -
- -

-<%= text_field 'issue_status', 'name' %>

- -

-<%= check_box 'issue_status', 'is_closed' %>

- -

-<%= check_box 'issue_status', 'is_default' %>

- -

-#<%= text_field 'issue_status', 'html_color', :maxlength => 6 %>

- - -
\ No newline at end of file diff --git a/redmine/app/views/issue_statuses/edit.rhtml b/redmine/app/views/issue_statuses/edit.rhtml deleted file mode 100644 index 80f856a2a..000000000 --- a/redmine/app/views/issue_statuses/edit.rhtml +++ /dev/null @@ -1,6 +0,0 @@ -

<%=l(:label_issue_status)%>

- -<%= start_form_tag({:action => 'update', :id => @issue_status}, :class => "tabular") %> - <%= render :partial => 'form' %> - <%= submit_tag l(:button_save) %> -<%= end_form_tag %> diff --git a/redmine/app/views/issue_statuses/list.rhtml b/redmine/app/views/issue_statuses/list.rhtml deleted file mode 100644 index 023863437..000000000 --- a/redmine/app/views/issue_statuses/list.rhtml +++ /dev/null @@ -1,28 +0,0 @@ -

<%=l(:label_issue_status_plural)%>

- - - - - - - - - - -<% for status in @issue_statuses %> - "> - - - - - - -<% end %> -
<%=l(:field_status)%><%=l(:field_is_default)%><%=l(:field_is_closed)%><%=l(:field_html_color)%>
<%= link_to status.name, :action => 'edit', :id => status %><%= image_tag 'true' if status.is_default? %><%= image_tag 'true' if status.is_closed? %>
 
- <%= button_to l(:button_delete), { :action => 'destroy', :id => status }, :confirm => l(:text_are_you_sure), :class => "button-small" %> -
- -<%= pagination_links_full @issue_status_pages %> -
- -<%= link_to '» ' + l(:label_issue_status_new), :action => 'new' %> diff --git a/redmine/app/views/issue_statuses/new.rhtml b/redmine/app/views/issue_statuses/new.rhtml deleted file mode 100644 index 2dacb1e21..000000000 --- a/redmine/app/views/issue_statuses/new.rhtml +++ /dev/null @@ -1,6 +0,0 @@ -

<%=l(:label_issue_status_new)%>

- -<%= start_form_tag({:action => 'create'}, :class => "tabular") %> - <%= render :partial => 'form' %> - <%= submit_tag l(:button_create) %> -<%= end_form_tag %> diff --git a/redmine/app/views/issues/_history.rhtml b/redmine/app/views/issues/_history.rhtml deleted file mode 100644 index 6dc2a84be..000000000 --- a/redmine/app/views/issues/_history.rhtml +++ /dev/null @@ -1,11 +0,0 @@ -<% for journal in journals %> -

<%= format_time(journal.created_on) %> - <%= journal.user.name %>

- - <% if journal.notes? %> - <%= simple_format auto_link journal.notes %> - <% end %> -<% end %> diff --git a/redmine/app/views/issues/_list_simple.rhtml b/redmine/app/views/issues/_list_simple.rhtml deleted file mode 100644 index 94b63d613..000000000 --- a/redmine/app/views/issues/_list_simple.rhtml +++ /dev/null @@ -1,28 +0,0 @@ -<% if issues.length > 0 %> - - - -
- - - - - - - <% for issue in issues %> - "> - - - - - <% end %> -
#<%=l(:field_tracker)%><%=l(:field_subject)%>
- <%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %>
-

<%= issue.project.name %> - <%= issue.tracker.name %>
- <%= issue.status.name %> - <%= format_time(issue.updated_on) %>

-

<%= link_to issue.subject, :controller => 'issues', :action => 'show', :id => issue %>

-
-
-<% else %> - <%=l(:label_no_data)%> -<% end %> \ No newline at end of file diff --git a/redmine/app/views/issues/_pdf.rfpdf b/redmine/app/views/issues/_pdf.rfpdf deleted file mode 100644 index 1f6a12283..000000000 --- a/redmine/app/views/issues/_pdf.rfpdf +++ /dev/null @@ -1,100 +0,0 @@ -<% pdf.SetFont('Arial','B',11) - pdf.Cell(190,10, "#{issue.project.name} - #{issue.tracker.name} # #{issue.long_id} - #{issue.subject}") - pdf.Ln - - y0 = pdf.GetY - - pdf.SetFont('Arial','B',9) - pdf.Cell(35,5, l(:field_status) + ":","LT") - pdf.SetFont('Arial','',9) - pdf.Cell(60,5, issue.status.name,"RT") - pdf.SetFont('Arial','B',9) - pdf.Cell(35,5, l(:field_priority) + ":","LT") - pdf.SetFont('Arial','',9) - pdf.Cell(60,5, issue.priority.name,"RT") - pdf.Ln - - pdf.SetFont('Arial','B',9) - pdf.Cell(35,5, l(:field_author) + ":","L") - pdf.SetFont('Arial','',9) - pdf.Cell(60,5, issue.author.name,"R") - pdf.SetFont('Arial','B',9) - pdf.Cell(35,5, l(:field_category) + ":","L") - pdf.SetFont('Arial','',9) - pdf.Cell(60,5, (issue.category ? issue.category.name : "-"),"R") - pdf.Ln - - pdf.SetFont('Arial','B',9) - pdf.Cell(35,5, l(:field_created_on) + ":","L") - pdf.SetFont('Arial','',9) - pdf.Cell(60,5, format_date(issue.created_on),"R") - pdf.SetFont('Arial','B',9) - pdf.Cell(35,5, l(:field_assigned_to) + ":","L") - pdf.SetFont('Arial','',9) - pdf.Cell(60,5, (issue.assigned_to ? issue.assigned_to.name : "-"),"R") - pdf.Ln - - pdf.SetFont('Arial','B',9) - pdf.Cell(35,5, l(:field_updated_on) + ":","LB") - pdf.SetFont('Arial','',9) - pdf.Cell(60,5, format_date(issue.updated_on),"RB") - pdf.SetFont('Arial','B',9) - pdf.Cell(35,5, l(:field_due_date) + ":","LB") - pdf.SetFont('Arial','',9) - pdf.Cell(60,5, format_date(issue.due_date),"RB") - pdf.Ln - - for custom_value in issue.custom_values - pdf.SetFont('Arial','B',9) - pdf.Cell(35,5, custom_value.custom_field.name + ":","L") - pdf.SetFont('Arial','',9) - pdf.MultiCell(155,5, (show_value custom_value),"R") - end - - pdf.SetFont('Arial','B',9) - pdf.Cell(35,5, l(:field_subject) + ":","LTB") - pdf.SetFont('Arial','',9) - pdf.Cell(155,5, issue.subject,"RTB") - pdf.Ln - - pdf.SetFont('Arial','B',9) - pdf.Cell(35,5, l(:field_description) + ":") - pdf.SetFont('Arial','',9) - pdf.MultiCell(155,5, issue.description,"BR") - - pdf.Line(pdf.GetX, y0, pdf.GetX, pdf.GetY) - pdf.Line(pdf.GetX, pdf.GetY, 170, pdf.GetY) - - pdf.Ln - - pdf.SetFont('Arial','B',9) - pdf.Cell(190,5, l(:label_history), "B") - pdf.Ln - for journal in issue.journals.find(:all, :include => :user, :order => "journals.created_on desc") - pdf.SetFont('Arial','B',8) - pdf.Cell(190,5, format_time(journal.created_on) + " - " + journal.user.name) - pdf.Ln - pdf.SetFont('Arial','I',8) - for detail in journal.details - pdf.Cell(190,5, "- " + show_detail(detail, true)) - pdf.Ln - end - if journal.notes? - pdf.SetFont('Arial','',8) - pdf.MultiCell(190,5, journal.notes) - end - pdf.Ln - end - - pdf.SetFont('Arial','B',9) - pdf.Cell(190,5, l(:label_attachment_plural), "B") - pdf.Ln - for attachment in issue.attachments - pdf.SetFont('Arial','',8) - pdf.Cell(80,5, attachment.filename) - pdf.Cell(20,5, human_size(attachment.filesize),0,0,"R") - pdf.Cell(20,5, format_date(attachment.created_on),0,0,"R") - pdf.Cell(70,5, attachment.author.name,0,0,"R") - pdf.Ln - end -%> \ No newline at end of file diff --git a/redmine/app/views/issues/change_status.rhtml b/redmine/app/views/issues/change_status.rhtml deleted file mode 100644 index 2ef87183d..000000000 --- a/redmine/app/views/issues/change_status.rhtml +++ /dev/null @@ -1,37 +0,0 @@ -

<%=l(:label_issue)%> #<%= @issue.id %>: <%= @issue.subject %>

- -<%= error_messages_for 'issue' %> -<%= start_form_tag({:action => 'change_status', :id => @issue}, :class => "tabular") %> - -<%= hidden_field_tag 'confirm', 1 %> -<%= hidden_field_tag 'new_status_id', @new_status.id %> - -
-

<%= @new_status.name %>

- -

-

- - -

-<%= select("issue", "done_ratio", ((0..10).to_a.collect {|r| ["#{r*10} %", r*10] }) ) %> -

- - -

-

- -

-<%= text_area_tag 'notes', @notes, :cols => 60, :rows => 10 %>

- -
- -<%= hidden_field 'issue', 'lock_version' %> -<%= submit_tag l(:button_save) %> -<%= end_form_tag %> diff --git a/redmine/app/views/issues/edit.rhtml b/redmine/app/views/issues/edit.rhtml deleted file mode 100644 index 60cdafc1e..000000000 --- a/redmine/app/views/issues/edit.rhtml +++ /dev/null @@ -1,49 +0,0 @@ -

<%= @issue.tracker.name %> #<%= @issue.id %> - <%= @issue.subject %>

- -<% labelled_tabular_form_for :issue, @issue, :url => {:action => 'edit'} do |f| %> -<%= error_messages_for 'issue' %> -
- -
-

<%= @issue.status.name %>

-

<%= f.select :priority_id, (@priorities.collect {|p| [p.name, p.id]}), :required => true %>

-

<%= f.select :assigned_to_id, (@issue.project.members.collect {|m| [m.name, m.user_id]}), :include_blank => true %>

-

<%= f.select :category_id, (@project.issue_categories.collect {|c| [c.name, c.id]}) %>

-
- -
-

<%= f.text_field :start_date, :size => 10 %><%= calendar_for('issue_start_date') %>

-

<%= f.text_field :due_date, :size => 10 %><%= calendar_for('issue_due_date') %>

-

<%= f.select :done_ratio, ((0..10).to_a.collect {|r| ["#{r*10} %", r*10] }) %>

-
- -
-

<%= f.text_field :subject, :size => 80, :required => true %>

-

<%= f.text_area :description, :cols => 60, :rows => [[10, @issue.description.length / 50].max, 100].min, :required => true %>

- -<% for @custom_value in @custom_values %> -

<%= custom_field_tag_with_label @custom_value %>

-<% end %> - -

<%= f.select :fixed_version_id, (@project.versions.collect {|v| [v.name, v.id]}), { :include_blank => true } %> -

-
- -
-<%= f.hidden_field :lock_version %> -<%= submit_tag l(:button_save) %> -<% end %> - -<% unless $RDM_TEXTILE_DISABLED %> -<%= javascript_include_tag 'jstoolbar' %> - -<% end %> \ No newline at end of file diff --git a/redmine/app/views/issues/export_pdf.rfpdf b/redmine/app/views/issues/export_pdf.rfpdf deleted file mode 100644 index a8622dd51..000000000 --- a/redmine/app/views/issues/export_pdf.rfpdf +++ /dev/null @@ -1,9 +0,0 @@ -<% pdf=IfpdfHelper::IFPDF.new - pdf.AliasNbPages - pdf.footer_date = format_date(Date.today) - pdf.AddPage - - render :partial => 'issues/pdf', :locals => { :pdf => pdf, :issue => @issue } -%> - -<%= pdf.Output %> \ No newline at end of file diff --git a/redmine/app/views/issues/history.rhtml b/redmine/app/views/issues/history.rhtml deleted file mode 100644 index 2443cc739..000000000 --- a/redmine/app/views/issues/history.rhtml +++ /dev/null @@ -1,6 +0,0 @@ -

<%=l(:label_history)%>

-
-<%= render :partial => 'history', :locals => { :journals => @journals } %> -
-
-

<%= link_to l(:button_back), :action => 'show', :id => @issue %>

\ No newline at end of file diff --git a/redmine/app/views/issues/show.rhtml b/redmine/app/views/issues/show.rhtml deleted file mode 100644 index 8128b74a9..000000000 --- a/redmine/app/views/issues/show.rhtml +++ /dev/null @@ -1,133 +0,0 @@ -

<%= @issue.tracker.name %> #<%= @issue.id %> - <%= @issue.subject %>

-
- -<%= link_to 'PDF', :action => 'export_pdf', :id => @issue %> - -
- -
- - - - - - - - - - - - - - - - - - - - - - -<% n = 0 -for custom_value in @custom_values %> - -<% n = n + 1 - if (n > 1) - n = 0 %> - - <%end -end %> - -
<%=l(:field_status)%> :<%= @issue.status.name %><%=l(:field_priority)%> :<%= @issue.priority.name %>
<%=l(:field_assigned_to)%> :<%= @issue.assigned_to ? @issue.assigned_to.name : "-" %><%=l(:field_category)%> :<%= @issue.category ? @issue.category.name : "-" %>
<%=l(:field_author)%> :<%= link_to_user @issue.author %><%=l(:field_start_date)%> :<%= format_date(@issue.start_date) %>
<%=l(:field_created_on)%> :<%= format_date(@issue.created_on) %><%=l(:field_due_date)%> :<%= format_date(@issue.due_date) %>
<%=l(:field_updated_on)%> :<%= format_date(@issue.updated_on) %><%=l(:field_done_ratio)%> :<%= @issue.done_ratio %> %
<%= custom_value.custom_field.name %> :<%= show_value custom_value %>
-
-
- -<%=l(:field_description)%> :

-<%= textilizable @issue.description %> -
-
-<% if authorize_for('issues', 'edit') %> - <%= start_form_tag ({:controller => 'issues', :action => 'edit', :id => @issue}, :method => "get" ) %> - <%= submit_tag l(:button_edit) %> - <%= end_form_tag %> -    -<% end %> - -<% if authorize_for('issues', 'change_status') and @status_options and !@status_options.empty? %> - <%= start_form_tag ({:controller => 'issues', :action => 'change_status', :id => @issue}) %> - <%=l(:label_change_status)%> : - - <%= submit_tag l(:button_change) %> - <%= end_form_tag %> -    -<% end %> - -<% if authorize_for('projects', 'move_issues') %> - <%= start_form_tag ({:controller => 'projects', :action => 'move_issues', :id => @project} ) %> - <%= hidden_field_tag "issue_ids[]", @issue.id %> - <%= submit_tag l(:button_move) %> - <%= end_form_tag %> -    -<% end %> -
-
-<% if authorize_for('issues', 'destroy') %> - <%= start_form_tag ({:controller => 'issues', :action => 'destroy', :id => @issue} ) %> - <%= submit_tag l(:button_delete) %> - <%= end_form_tag %> -    -<% end %> -
-
-
- -
-

<%=l(:label_history)%> -<% if @journals_count > @journals.length %>(<%= l(:label_last_changes, @journals.length) %>)<% end %>

-<%= render :partial => 'history', :locals => { :journals => @journals } %> -<% if @journals_count > @journals.length %> -

[ <%= link_to l(:label_change_view_all), :action => 'history', :id => @issue %> ]

-<% end %> -
- -
-

<%=l(:label_attachment_plural)%>

- -<% for attachment in @issue.attachments %> - - - - -<% if authorize_for('issues', 'destroy_attachment') %> - -<% end %> - -<% end %> -
<%= image_tag('attachment') %> <%= link_to attachment.filename, :action => 'download', :id => @issue, :attachment_id => attachment %> (<%= human_size(attachment.filesize) %>)<%= format_date(attachment.created_on) %><%= attachment.author.display_name %> - <%= start_form_tag :action => 'destroy_attachment', :id => @issue, :attachment_id => attachment %> - <%= submit_tag l(:button_delete), :class => "button-small" %> - <%= end_form_tag %> -
-
-<% if authorize_for('issues', 'add_attachment') %> - <%= start_form_tag ({ :controller => 'issues', :action => 'add_attachment', :id => @issue }, :multipart => true, :class => "tabular") %> -

- <%= file_field_tag 'attachments[]', :size => 30 %>

- <%= submit_tag l(:button_add) %> - <%= end_form_tag %> -<% end %> -
- -<% if authorize_for('issues', 'add_note') %> -
-

<%= l(:label_add_note) %>

- <%= start_form_tag ({:controller => 'issues', :action => 'add_note', :id => @issue}, :class => "tabular" ) %> -

- <%= text_area_tag 'notes', '', :cols => 60, :rows => 10 %>

- <%= submit_tag l(:button_add) %> - <%= end_form_tag %> -
-<% end %> diff --git a/redmine/app/views/layouts/base.rhtml b/redmine/app/views/layouts/base.rhtml deleted file mode 100644 index 951fa88f7..000000000 --- a/redmine/app/views/layouts/base.rhtml +++ /dev/null @@ -1,142 +0,0 @@ - - - -<%= $RDM_HEADER_TITLE + (@html_title ? ": #{@html_title}" : "") %> - - - -<%= stylesheet_link_tag "application" %> -<%= stylesheet_link_tag "menu" %> -<%= stylesheet_link_tag "rails" %> -<%= javascript_include_tag :defaults %> -<%= javascript_include_tag 'menu' %> -<%= javascript_include_tag 'calendar/calendar' %> -<%= javascript_include_tag "calendar/lang/calendar-#{current_language}.js" %> -<%= javascript_include_tag 'calendar/calendar-setup' %> -<%= stylesheet_link_tag 'calendar' %> -<%= stylesheet_link_tag 'jstoolbar' %> - - - - - -
- - - - - - -
- - <% unless @project.nil? || @project.id.nil? %> -

<%= @project.name %>

- - <% end %> - - <% if loggedin? and @logged_in_user.memberships.length > 0 %> -

<%=l(:label_my_projects) %>

- - <% end %> -
- -
- <% if flash[:notice] %>

<%= flash[:notice] %>

<% end %> - <%= @content_for_layout %> -
- - - -
- - \ No newline at end of file diff --git a/redmine/app/views/mailer/_issue.rhtml b/redmine/app/views/mailer/_issue.rhtml deleted file mode 100644 index c123ae30c..000000000 --- a/redmine/app/views/mailer/_issue.rhtml +++ /dev/null @@ -1,7 +0,0 @@ -<%=l(:label_issue)%> #<%= issue.id %> - <%= issue.subject %> -<%=l(:field_author)%>: <%= issue.author.display_name %> -<%=l(:field_status)%>: <%= issue.status.name %> - -<%= issue.description %> - -http://<%= $RDM_HOST_NAME %>/issues/show/<%= issue.id %> \ No newline at end of file diff --git a/redmine/app/views/mailer/issue_add_de.rhtml b/redmine/app/views/mailer/issue_add_de.rhtml deleted file mode 100644 index 9efec9ad9..000000000 --- a/redmine/app/views/mailer/issue_add_de.rhtml +++ /dev/null @@ -1,3 +0,0 @@ -Issue #<%= @issue.id %> has been reported. ----------------------------------------- -<%= render :file => "_issue", :use_full_path => true, :locals => { :issue => @issue } %> \ No newline at end of file diff --git a/redmine/app/views/mailer/issue_add_en.rhtml b/redmine/app/views/mailer/issue_add_en.rhtml deleted file mode 100644 index 9efec9ad9..000000000 --- a/redmine/app/views/mailer/issue_add_en.rhtml +++ /dev/null @@ -1,3 +0,0 @@ -Issue #<%= @issue.id %> has been reported. ----------------------------------------- -<%= render :file => "_issue", :use_full_path => true, :locals => { :issue => @issue } %> \ No newline at end of file diff --git a/redmine/app/views/mailer/issue_add_es.rhtml b/redmine/app/views/mailer/issue_add_es.rhtml deleted file mode 100644 index 9efec9ad9..000000000 --- a/redmine/app/views/mailer/issue_add_es.rhtml +++ /dev/null @@ -1,3 +0,0 @@ -Issue #<%= @issue.id %> has been reported. ----------------------------------------- -<%= render :file => "_issue", :use_full_path => true, :locals => { :issue => @issue } %> \ No newline at end of file diff --git a/redmine/app/views/mailer/issue_add_fr.rhtml b/redmine/app/views/mailer/issue_add_fr.rhtml deleted file mode 100644 index 628ecae12..000000000 --- a/redmine/app/views/mailer/issue_add_fr.rhtml +++ /dev/null @@ -1,3 +0,0 @@ -Une nouvelle demande (#<%= @issue.id %>) a été soumise. ----------------------------------------- -<%= render :file => "_issue", :use_full_path => true, :locals => { :issue => @issue } %> \ No newline at end of file diff --git a/redmine/app/views/mailer/issue_edit_de.rhtml b/redmine/app/views/mailer/issue_edit_de.rhtml deleted file mode 100644 index d22d6c534..000000000 --- a/redmine/app/views/mailer/issue_edit_de.rhtml +++ /dev/null @@ -1,8 +0,0 @@ -Issue #<%= @issue.id %> has been updated. -<%= @journal.user.name %> -<% for detail in @journal.details %> -<%= show_detail(detail, true) %> -<% end %> -<%= @journal.notes if @journal.notes? %> ----------------------------------------- -<%= render :file => "_issue", :use_full_path => true, :locals => { :issue => @issue } %> \ No newline at end of file diff --git a/redmine/app/views/mailer/issue_edit_en.rhtml b/redmine/app/views/mailer/issue_edit_en.rhtml deleted file mode 100644 index d22d6c534..000000000 --- a/redmine/app/views/mailer/issue_edit_en.rhtml +++ /dev/null @@ -1,8 +0,0 @@ -Issue #<%= @issue.id %> has been updated. -<%= @journal.user.name %> -<% for detail in @journal.details %> -<%= show_detail(detail, true) %> -<% end %> -<%= @journal.notes if @journal.notes? %> ----------------------------------------- -<%= render :file => "_issue", :use_full_path => true, :locals => { :issue => @issue } %> \ No newline at end of file diff --git a/redmine/app/views/mailer/issue_edit_es.rhtml b/redmine/app/views/mailer/issue_edit_es.rhtml deleted file mode 100644 index d22d6c534..000000000 --- a/redmine/app/views/mailer/issue_edit_es.rhtml +++ /dev/null @@ -1,8 +0,0 @@ -Issue #<%= @issue.id %> has been updated. -<%= @journal.user.name %> -<% for detail in @journal.details %> -<%= show_detail(detail, true) %> -<% end %> -<%= @journal.notes if @journal.notes? %> ----------------------------------------- -<%= render :file => "_issue", :use_full_path => true, :locals => { :issue => @issue } %> \ No newline at end of file diff --git a/redmine/app/views/mailer/issue_edit_fr.rhtml b/redmine/app/views/mailer/issue_edit_fr.rhtml deleted file mode 100644 index 9edacb703..000000000 --- a/redmine/app/views/mailer/issue_edit_fr.rhtml +++ /dev/null @@ -1,8 +0,0 @@ -La demande #<%= @issue.id %> a été mise à jour. -<%= @journal.user.name %> - <%= format_date(@journal.created_on) %> -<% for detail in @journal.details %> -<%= show_detail(detail, true) %> -<% end %> -<%= journal.notes if journal.notes? %> ----------------------------------------- -<%= render :file => "_issue", :use_full_path => true, :locals => { :issue => @issue } %> \ No newline at end of file diff --git a/redmine/app/views/mailer/lost_password_de.rhtml b/redmine/app/views/mailer/lost_password_de.rhtml deleted file mode 100644 index 2593edbda..000000000 --- a/redmine/app/views/mailer/lost_password_de.rhtml +++ /dev/null @@ -1,3 +0,0 @@ -To change your password, use the following link: - -http://<%= $RDM_HOST_NAME %>/account/lost_password?token=<%= @token.value %> \ No newline at end of file diff --git a/redmine/app/views/mailer/lost_password_en.rhtml b/redmine/app/views/mailer/lost_password_en.rhtml deleted file mode 100644 index 2593edbda..000000000 --- a/redmine/app/views/mailer/lost_password_en.rhtml +++ /dev/null @@ -1,3 +0,0 @@ -To change your password, use the following link: - -http://<%= $RDM_HOST_NAME %>/account/lost_password?token=<%= @token.value %> \ No newline at end of file diff --git a/redmine/app/views/mailer/lost_password_es.rhtml b/redmine/app/views/mailer/lost_password_es.rhtml deleted file mode 100644 index 2593edbda..000000000 --- a/redmine/app/views/mailer/lost_password_es.rhtml +++ /dev/null @@ -1,3 +0,0 @@ -To change your password, use the following link: - -http://<%= $RDM_HOST_NAME %>/account/lost_password?token=<%= @token.value %> \ No newline at end of file diff --git a/redmine/app/views/mailer/lost_password_fr.rhtml b/redmine/app/views/mailer/lost_password_fr.rhtml deleted file mode 100644 index 30996f118..000000000 --- a/redmine/app/views/mailer/lost_password_fr.rhtml +++ /dev/null @@ -1,3 +0,0 @@ -Pour changer votre mot de passe, utilisez le lien suivant: - -http://<%= $RDM_HOST_NAME %>/account/lost_password?token=<%= @token.value %> \ No newline at end of file diff --git a/redmine/app/views/mailer/register_de.rhtml b/redmine/app/views/mailer/register_de.rhtml deleted file mode 100644 index 2c0341b24..000000000 --- a/redmine/app/views/mailer/register_de.rhtml +++ /dev/null @@ -1,3 +0,0 @@ -To activate your redMine account, use the following link: - -http://<%= $RDM_HOST_NAME %>/account/register?token=<%= @token.value %> \ No newline at end of file diff --git a/redmine/app/views/mailer/register_en.rhtml b/redmine/app/views/mailer/register_en.rhtml deleted file mode 100644 index 2c0341b24..000000000 --- a/redmine/app/views/mailer/register_en.rhtml +++ /dev/null @@ -1,3 +0,0 @@ -To activate your redMine account, use the following link: - -http://<%= $RDM_HOST_NAME %>/account/register?token=<%= @token.value %> \ No newline at end of file diff --git a/redmine/app/views/mailer/register_es.rhtml b/redmine/app/views/mailer/register_es.rhtml deleted file mode 100644 index 2c0341b24..000000000 --- a/redmine/app/views/mailer/register_es.rhtml +++ /dev/null @@ -1,3 +0,0 @@ -To activate your redMine account, use the following link: - -http://<%= $RDM_HOST_NAME %>/account/register?token=<%= @token.value %> \ No newline at end of file diff --git a/redmine/app/views/mailer/register_fr.rhtml b/redmine/app/views/mailer/register_fr.rhtml deleted file mode 100644 index 3f5d0ccaf..000000000 --- a/redmine/app/views/mailer/register_fr.rhtml +++ /dev/null @@ -1,3 +0,0 @@ -Pour activer votre compte sur redMine, utilisez le lien suivant: - -http://<%= $RDM_HOST_NAME %>/account/register?token=<%= @token.value %> \ No newline at end of file diff --git a/redmine/app/views/my/_block.rhtml b/redmine/app/views/my/_block.rhtml deleted file mode 100644 index 3f72bdaf1..000000000 --- a/redmine/app/views/my/_block.rhtml +++ /dev/null @@ -1,16 +0,0 @@ -
- -
- <%= link_to_remote "", { - :url => { :action => "remove_block", :block => block_name }, - :complete => "removeBlock('block_#{block_name}')", - :loading => "Element.show('indicator')", - :loaded => "Element.hide('indicator')" }, - :class => "close-icon" - %> -
- -
- <%= render :partial => "my/blocks/#{block_name}", :locals => { :user => user } %> -
-
\ No newline at end of file diff --git a/redmine/app/views/my/account.rhtml b/redmine/app/views/my/account.rhtml deleted file mode 100644 index 23b236e29..000000000 --- a/redmine/app/views/my/account.rhtml +++ /dev/null @@ -1,47 +0,0 @@ -

<%=l(:label_my_account)%>

- -

<%=l(:field_login)%>: <%= @user.login %>
-<%=l(:field_created_on)%>: <%= format_time(@user.created_on) %>, -<%=l(:field_updated_on)%>: <%= format_time(@user.updated_on) %>

- -<%= error_messages_for 'user' %> - -
-

<%=l(:label_information_plural)%>

- -<% labelled_tabular_form_for :user, @user, :url => { :action => "account" } do |f| %> - -

<%= f.text_field :firstname, :required => true %>

-

<%= f.text_field :lastname, :required => true %>

-

<%= f.text_field :mail, :required => true, :size => 40 %>

-

<%= f.select :language, lang_options_for_select %>

-

<%= f.check_box :mail_notification %>

- -<% fields_for :pref, @user.pref, :builder => TabularFormBuilder, :lang => current_language do |pref_fields| %> -

<%= pref_fields.check_box :hide_mail %>

-<% end %> - -
<%= submit_tag l(:button_save) %>
-<% end %> -
- - -<% unless @user.auth_source_id %> -
-

<%=l(:field_password)%>

- - <%= start_form_tag({:action => 'change_password'}, :class => "tabular") %> - -

- <%= password_field_tag 'password', nil, :size => 25 %>

- -

- <%= password_field_tag 'new_password', nil, :size => 25 %>

- -

- <%= password_field_tag 'new_password_confirmation', nil, :size => 25 %>

- -
<%= submit_tag l(:button_save) %>
- <%= end_form_tag %> -
-<% end %> diff --git a/redmine/app/views/my/blocks/_calendar.rhtml b/redmine/app/views/my/blocks/_calendar.rhtml deleted file mode 100644 index 2d7930f52..000000000 --- a/redmine/app/views/my/blocks/_calendar.rhtml +++ /dev/null @@ -1,45 +0,0 @@ -

<%= l(:label_calendar) %>

- -<% -@date_from = Date.today - (Date.today.cwday-1) -@date_to = Date.today + (7-Date.today.cwday) -@issues = Issue.find :all, - :conditions => ["issues.project_id in (#{@user.projects.collect{|m| m.id}.join(',')}) AND ((start_date>=? and start_date<=?) or (due_date>=? and due_date<=?))", @date_from, @date_to, @date_from, @date_to], - :include => [:project, :tracker] unless @user.projects.empty? -@issues ||= [] -%> - - - - -<% 1.upto(7) do |d| %> - -<% end %> - - -<% day = @date_from -while day <= @date_to - if day.cwday == 1 %> - - <% end %> - - <%= '' if day.cwday >= 7 and day!=@date_to %> - <% - day = day + 1 -end %> - -
<%= day_name(d) %>
<%= day.cweek %>"> -

<%= day==Date.today ? "#{day.day}" : day.day %>

- <% day_issues = [] - @issues.each { |i| day_issues << i if i.start_date == day or i.due_date == day } - day_issues.each do |i| %> - <%= if day == i.start_date and day == i.due_date - image_tag('arrow_bw') - elsif day == i.start_date - image_tag('arrow_from') - elsif day == i.due_date - image_tag('arrow_to') - end %> - <%= link_to "#{i.tracker.name} ##{i.id}", :controller => 'issues', :action => 'show', :id => i %>: <%= i.subject.sub(/^(.{30}[^\s]*\s).*$/, '\1 (...)') %>
- <% end %> -
\ No newline at end of file diff --git a/redmine/app/views/my/blocks/_documents.rhtml b/redmine/app/views/my/blocks/_documents.rhtml deleted file mode 100644 index 5fa8c7980..000000000 --- a/redmine/app/views/my/blocks/_documents.rhtml +++ /dev/null @@ -1,15 +0,0 @@ -

<%=l(:label_document_plural)%>

- - \ No newline at end of file diff --git a/redmine/app/views/my/blocks/_issues_assigned_to_me.rhtml b/redmine/app/views/my/blocks/_issues_assigned_to_me.rhtml deleted file mode 100644 index 2a4e2a05d..000000000 --- a/redmine/app/views/my/blocks/_issues_assigned_to_me.rhtml +++ /dev/null @@ -1,10 +0,0 @@ -

<%=l(:label_assigned_to_me_issues)%>

-<% assigned_issues = Issue.find(:all, - :conditions => ["assigned_to_id=?", user.id], - :limit => 10, - :include => [ :status, :project, :tracker ], - :order => 'issues.updated_on DESC') %> -<%= render :partial => 'issues/list_simple', :locals => { :issues => assigned_issues } %> -<% if assigned_issues.length > 0 %> -

<%=lwr(:label_last_updates, assigned_issues.length)%>

-<% end %> diff --git a/redmine/app/views/my/blocks/_issues_reported_by_me.rhtml b/redmine/app/views/my/blocks/_issues_reported_by_me.rhtml deleted file mode 100644 index 9b40b3606..000000000 --- a/redmine/app/views/my/blocks/_issues_reported_by_me.rhtml +++ /dev/null @@ -1,10 +0,0 @@ -

<%=l(:label_reported_issues)%>

-<% reported_issues = Issue.find(:all, - :conditions => ["author_id=?", user.id], - :limit => 10, - :include => [ :status, :project, :tracker ], - :order => 'issues.updated_on DESC') %> -<%= render :partial => 'issues/list_simple', :locals => { :issues => reported_issues } %> -<% if reported_issues.length > 0 %> -

<%=lwr(:label_last_updates, reported_issues.length)%>

-<% end %> \ No newline at end of file diff --git a/redmine/app/views/my/blocks/_latest_news.rhtml b/redmine/app/views/my/blocks/_latest_news.rhtml deleted file mode 100644 index 85430ef54..000000000 --- a/redmine/app/views/my/blocks/_latest_news.rhtml +++ /dev/null @@ -1,13 +0,0 @@ -

<%=l(:label_news_latest)%>

- - \ No newline at end of file diff --git a/redmine/app/views/my/page.rhtml b/redmine/app/views/my/page.rhtml deleted file mode 100644 index 121d48ca9..000000000 --- a/redmine/app/views/my/page.rhtml +++ /dev/null @@ -1,30 +0,0 @@ -

<%=l(:label_my_page)%>

- -
- <%= link_to l(:label_personalize_page), :action => 'page_layout' %> -
- -
- <% @blocks['top'].each do |b| %> -
- <%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %> -
- <% end if @blocks['top'] %> -
- -
- <% @blocks['left'].each do |b| %> -
- <%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %> -
- <% end if @blocks['left'] %> -
- -
- <% @blocks['right'].each do |b| %> -
- <%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %> -
- <% end if @blocks['right'] %> -
- diff --git a/redmine/app/views/my/page_layout.rhtml b/redmine/app/views/my/page_layout.rhtml deleted file mode 100644 index 59a38567d..000000000 --- a/redmine/app/views/my/page_layout.rhtml +++ /dev/null @@ -1,121 +0,0 @@ - - -
-<%= start_form_tag({:action => "add_block"}, :id => "block-form") %> - -<%= select_tag 'block', "" + options_for_select(@block_options), :id => "block-select", :class => "select-small" %> - -<%= link_to_remote l(:button_add), - :url => { :action => "add_block" }, - :with => "Form.serialize('block-form')", - :update => "list-top", - :position => :top, - :complete => "afterAddBlock();", - :loading => "Element.show('indicator')", - :loaded => "Element.hide('indicator')" - %> - -<%= end_form_tag %> -| -<%= link_to l(:button_save), :action => 'page_layout_save' %> | -<%= link_to l(:button_cancel), :action => 'page' %> - -
- -
- -
- -

<%=l(:label_my_page)%>

- -
- <% @blocks['top'].each do |b| %> - <%= render :partial => 'block', :locals => {:user => @user, :block_name => b} %> - <% end if @blocks['top'] %> -
- -
- <% @blocks['left'].each do |b| %> - <%= render :partial => 'block', :locals => {:user => @user, :block_name => b} %> - <% end if @blocks['left'] %> -
- -
- <% @blocks['right'].each do |b| %> - <%= render :partial => 'block', :locals => {:user => @user, :block_name => b} %> - <% end if @blocks['right'] %> -
- -<%= sortable_element 'list-top', - :tag => 'div', - :only => 'mypage-box', - :handle => "handle", - :dropOnEmpty => true, - :containment => ['list-top', 'list-left', 'list-right'], - :constraint => false, - :complete => visual_effect(:highlight, 'list-top'), - :url => { :action => "order_blocks", :group => "top" }, - :loading => "Element.show('indicator')", - :loaded => "Element.hide('indicator')" - %> - - -<%= sortable_element 'list-left', - :tag => 'div', - :only => 'mypage-box', - :handle => "handle", - :dropOnEmpty => true, - :containment => ['list-top', 'list-left', 'list-right'], - :constraint => false, - :complete => visual_effect(:highlight, 'list-left'), - :url => { :action => "order_blocks", :group => "left" }, - :loading => "Element.show('indicator')", - :loaded => "Element.hide('indicator')" %> - -<%= sortable_element 'list-right', - :tag => 'div', - :only => 'mypage-box', - :handle => "handle", - :dropOnEmpty => true, - :containment => ['list-top', 'list-left', 'list-right'], - :constraint => false, - :complete => visual_effect(:highlight, 'list-right'), - :url => { :action => "order_blocks", :group => "right" }, - :loading => "Element.show('indicator')", - :loaded => "Element.hide('indicator')" %> - -<%= javascript_tag "updateSelect()" %> \ No newline at end of file diff --git a/redmine/app/views/news/_form.rhtml b/redmine/app/views/news/_form.rhtml deleted file mode 100644 index 2dcdc9f80..000000000 --- a/redmine/app/views/news/_form.rhtml +++ /dev/null @@ -1,20 +0,0 @@ -<%= error_messages_for 'news' %> -
-

<%= f.text_field :title, :required => true, :size => 60 %>

-

<%= f.text_area :summary, :cols => 60, :rows => 2 %>

-

<%= f.text_area :description, :required => true, :cols => 60, :rows => 15 %>

-
- -<% unless $RDM_TEXTILE_DISABLED %> -<%= javascript_include_tag 'jstoolbar' %> - -<% end %> \ No newline at end of file diff --git a/redmine/app/views/news/edit.rhtml b/redmine/app/views/news/edit.rhtml deleted file mode 100644 index 5e015c4c7..000000000 --- a/redmine/app/views/news/edit.rhtml +++ /dev/null @@ -1,6 +0,0 @@ -

<%=l(:label_news)%>

- -<% labelled_tabular_form_for :news, @news, :url => { :action => "edit" } do |f| %> -<%= render :partial => 'form', :locals => { :f => f } %> -<%= submit_tag l(:button_save) %> -<% end %> \ No newline at end of file diff --git a/redmine/app/views/news/show.rhtml b/redmine/app/views/news/show.rhtml deleted file mode 100644 index 91df09f0f..000000000 --- a/redmine/app/views/news/show.rhtml +++ /dev/null @@ -1,16 +0,0 @@ -

<%= @news.title %>

- -

<%= @news.summary %>
-<%= @news.author.display_name %>, <%= format_time(@news.created_on) %>

-
-<%= textilizable auto_link @news.description %> - -
-<% if authorize_for('news', 'destroy') %> - <%= start_form_tag ({:controller => 'news', :action => 'destroy', :id => @news}) %> - <%= submit_tag l(:button_delete) %> - <%= end_form_tag %> -<% end %> -
- -<%= link_to_if_authorized l(:button_edit), :controller => 'news', :action => 'edit', :id => @news %> diff --git a/redmine/app/views/projects/_form.rhtml b/redmine/app/views/projects/_form.rhtml deleted file mode 100644 index ab0b35fab..000000000 --- a/redmine/app/views/projects/_form.rhtml +++ /dev/null @@ -1,26 +0,0 @@ -<%= error_messages_for 'project' %> -
- -

<%= f.text_field :name, :required => true %>

- -<% if admin_loggedin? and !@root_projects.empty? %> -

<%= f.select :parent_id, (@root_projects.collect {|p| [p.name, p.id]}), { :include_blank => true } %>

-<% end %> - -

<%= f.text_area :description, :required => true, :cols => 60, :rows => 3 %>

-

<%= f.text_field :homepage, :size => 40 %>

-

<%= f.check_box :is_public %>

- -<% for @custom_value in @custom_values %> -

<%= custom_field_tag_with_label @custom_value %>

-<% end %> - -<% unless @custom_fields.empty? %> -

-<% for custom_field in @custom_fields %> - <%= check_box_tag "custom_field_ids[]", custom_field.id, ((@project.custom_fields.include? custom_field) or custom_field.is_for_all?), (custom_field.is_for_all? ? {:disabled => "disabled"} : {}) %> - <%= custom_field.name %> -<% end %>

-<% end %> - -
diff --git a/redmine/app/views/projects/activity.rhtml b/redmine/app/views/projects/activity.rhtml deleted file mode 100644 index d6e5a1a43..000000000 --- a/redmine/app/views/projects/activity.rhtml +++ /dev/null @@ -1,41 +0,0 @@ -

<%=l(:label_activity)%>

- -
-
- <%= start_form_tag %> -

<%= select_month(@month, :prefix => "month", :discard_type => true) %> -<%= select_year(@year, :prefix => "year", :discard_type => true) %>

- <%= check_box_tag 'show_issues', 1, @show_issues %><%= hidden_field_tag 'show_issues', 0 %> <%=l(:label_issue_plural)%>
- <%= check_box_tag 'show_news', 1, @show_news %><%= hidden_field_tag 'show_news', 0 %> <%=l(:label_news_plural)%>
- <%= check_box_tag 'show_files', 1, @show_files %><%= hidden_field_tag 'show_files', 0 %> <%=l(:label_attachment_plural)%>
- <%= check_box_tag 'show_documents', 1, @show_documents %><%= hidden_field_tag 'show_documents', 0 %> <%=l(:label_document_plural)%>
-

<%= submit_tag l(:button_apply), :class => 'button-small' %>

- <%= end_form_tag %> -
-<% @events_by_day.keys.sort {|x,y| y <=> x }.each do |day| %> -

<%= day_name(day.cwday) %> <%= format_date(day) %>

- -<% end %> -<% if @events_by_day.empty? %>

<%= l(:label_no_data) %>

<% end %> -
-
\ No newline at end of file diff --git a/redmine/app/views/projects/add.rhtml b/redmine/app/views/projects/add.rhtml deleted file mode 100644 index bafbf9145..000000000 --- a/redmine/app/views/projects/add.rhtml +++ /dev/null @@ -1,6 +0,0 @@ -

<%=l(:label_project_new)%>

- -<% labelled_tabular_form_for :project, @project, :url => { :action => "add" } do |f| %> -<%= render :partial => 'form', :locals => { :f => f } %> -<%= submit_tag l(:button_save) %> -<% end %> \ No newline at end of file diff --git a/redmine/app/views/projects/add_document.rhtml b/redmine/app/views/projects/add_document.rhtml deleted file mode 100644 index 88572f409..000000000 --- a/redmine/app/views/projects/add_document.rhtml +++ /dev/null @@ -1,14 +0,0 @@ -

<%=l(:label_document_new)%>

- -<%= start_form_tag( { :action => 'add_document', :id => @project }, :class => "tabular", :multipart => true) %> -<%= render :partial => 'documents/form' %> - -
-

-<%= file_field 'attachment', 'file' %>

-
- -<%= submit_tag l(:button_create) %> -<%= end_form_tag %> - - diff --git a/redmine/app/views/projects/add_file.rhtml b/redmine/app/views/projects/add_file.rhtml deleted file mode 100644 index fee67c53f..000000000 --- a/redmine/app/views/projects/add_file.rhtml +++ /dev/null @@ -1,14 +0,0 @@ -

<%=l(:label_attachment_new)%>

- -<%= error_messages_for 'attachment' %> -<%= start_form_tag ({ :action => 'add_file', :project => @project }, :multipart => true) %> - -


-

- -

<%=l(:label_attachment)%>
<%= file_field 'attachment', 'file' %>

-
-<%= submit_tag l(:button_add) %> -<%= end_form_tag %> \ No newline at end of file diff --git a/redmine/app/views/projects/add_issue.rhtml b/redmine/app/views/projects/add_issue.rhtml deleted file mode 100644 index b60f91a2e..000000000 --- a/redmine/app/views/projects/add_issue.rhtml +++ /dev/null @@ -1,50 +0,0 @@ -

<%=l(:label_issue_new)%>: <%= @tracker.name %>

- -<% labelled_tabular_form_for :issue, @issue, :url => {:action => 'add_issue'}, :html => {:multipart => true} do |f| %> -<%= error_messages_for 'issue' %> -
- -<%= hidden_field_tag 'tracker_id', @tracker.id %> - -
-

<%= f.select :priority_id, (@priorities.collect {|p| [p.name, p.id]}), :required => true %>

-

<%= f.select :assigned_to_id, (@issue.project.members.collect {|m| [m.name, m.user_id]}), :include_blank => true %>

-

<%= f.select :category_id, (@project.issue_categories.collect {|c| [c.name, c.id]}), :include_blank => true %>

-
-
-

<%= f.text_field :start_date, :size => 10 %><%= calendar_for('issue_start_date') %>

-

<%= f.text_field :due_date, :size => 10 %><%= calendar_for('issue_due_date') %>

-

<%= f.select :done_ratio, ((0..10).to_a.collect {|r| ["#{r*10} %", r*10] }) %>

-
- -
-

<%= f.text_field :subject, :size => 80, :required => true %>

-

<%= f.text_area :description, :cols => 60, :rows => 10, :required => true %>

- -<% for @custom_value in @custom_values %> -

<%= custom_field_tag_with_label @custom_value %>

-<% end %> - -

-<%= file_field_tag 'attachments[]', :size => 30 %>

- -
- -
-<%= submit_tag l(:button_create) %> -<% end %> - -<% unless $RDM_TEXTILE_DISABLED %> -<%= javascript_include_tag 'jstoolbar' %> - -<% end %> \ No newline at end of file diff --git a/redmine/app/views/projects/add_news.rhtml b/redmine/app/views/projects/add_news.rhtml deleted file mode 100644 index a6ecd3da7..000000000 --- a/redmine/app/views/projects/add_news.rhtml +++ /dev/null @@ -1,6 +0,0 @@ -

<%=l(:label_news_new)%>

- -<% labelled_tabular_form_for :news, @news, :url => { :action => "add_news" } do |f| %> -<%= render :partial => 'news/form', :locals => { :f => f } %> -<%= submit_tag l(:button_create) %> -<% end %> \ No newline at end of file diff --git a/redmine/app/views/projects/add_version.rhtml b/redmine/app/views/projects/add_version.rhtml deleted file mode 100644 index c038b7de9..000000000 --- a/redmine/app/views/projects/add_version.rhtml +++ /dev/null @@ -1,6 +0,0 @@ -

<%=l(:label_version_new)%>

- -<% labelled_tabular_form_for :version, @version, :url => { :action => 'add_version' } do |f| %> -<%= render :partial => 'versions/form', :locals => { :f => f } %> -<%= submit_tag l(:button_create) %> -<% end %> \ No newline at end of file diff --git a/redmine/app/views/projects/calendar.rhtml b/redmine/app/views/projects/calendar.rhtml deleted file mode 100644 index fc62921d4..000000000 --- a/redmine/app/views/projects/calendar.rhtml +++ /dev/null @@ -1,75 +0,0 @@ -

<%= l(:label_calendar) %>

- - - - - - -
-<%= start_form_tag :action => 'calendar', :id => @project %> -<%= select_month(@month, :prefix => "month", :discard_type => true) %> -<%= select_year(@year, :prefix => "year", :discard_type => true) %> -<%= submit_tag l(:button_submit), :class => "button-small" %> -<%= end_form_tag %> - -<%= image_tag 'gantt' %> -<%= link_to l(:label_gantt_chart), :action => 'gantt', :id => @project %>  -
-
- - - - -<% 1.upto(7) do |d| %> - -<% end %> - - -<% day = @date_from -while day <= @date_to - if day.cwday == 1 %> - - <% end %> - - <%= '' if day.cwday >= 7 and day!=@date_to %> - <% - day = day + 1 -end %> - -
<%= day_name(d) %>
<%= day.cweek %>"> -

<%= day==Date.today ? "#{day.day}" : day.day %>

- <% day_issues = [] - @issues.each { |i| day_issues << i if i.start_date == day or i.due_date == day } - day_issues.each do |i| %> - <%= if day == i.start_date and day == i.due_date - image_tag('arrow_bw') - elsif day == i.start_date - image_tag('arrow_from') - elsif day == i.due_date - image_tag('arrow_to') - end %> - <%= link_to "#{i.tracker.name} ##{i.id}", :controller => 'issues', :action => 'show', :id => i %>: <%= i.subject.sub(/^(.{30}[^\s]*\s).*$/, '\1 (...)') %>
- <% end %> -
- - - - - - -
-<%= link_to_remote ('« ' + l(:label_previous)), - {:update => "content", :url => { :year => (@month==1 ? @year-1 : @year), :month =>(@month==1 ? 12 : @month-1) }}, - {:href => url_for(:action => 'calendar', :year => (@month==1 ? @year-1 : @year), :month =>(@month==1 ? 12 : @month-1))} - %> - -<%= link_to_remote (l(:label_next) + ' »'), - {:update => "content", :url => { :year => (@month==12 ? @year+1 : @year), :month =>(@month==12 ? 1 : @month+1) }}, - {:href => url_for(:action => 'calendar', :year => (@month==12 ? @year+1 : @year), :month =>(@month==12 ? 1 : @month+1))} - %> -  -
-
-<%= image_tag 'arrow_from' %>  <%= l(:text_tip_task_begin_day) %>
-<%= image_tag 'arrow_to' %>  <%= l(:text_tip_task_end_day) %>
-<%= image_tag 'arrow_bw' %>  <%= l(:text_tip_task_begin_end_day) %>
\ No newline at end of file diff --git a/redmine/app/views/projects/changelog.rhtml b/redmine/app/views/projects/changelog.rhtml deleted file mode 100644 index 081456413..000000000 --- a/redmine/app/views/projects/changelog.rhtml +++ /dev/null @@ -1,28 +0,0 @@ -

<%=l(:label_change_log)%>

- -
- -
-<%= start_form_tag %> -<%=l(:label_tracker_plural)%>
-<% @trackers.each do |tracker| %> - <%= check_box_tag "tracker_ids[]", tracker.id, (@selected_tracker_ids.include? tracker.id.to_s) %> - <%= tracker.name %>
-<% end %> -

<%= submit_tag l(:button_apply), :class => 'button-small' %>

-<%= end_form_tag %> -
- -<% ver_id = nil - @fixed_issues.each do |issue| %> - <% unless ver_id == issue.fixed_version_id %> - <% if ver_id %><% end %> -

<%= l(:label_version) %>: <%= issue.fixed_version.name %>

-

<%= format_date(issue.fixed_version.effective_date) %>
- <%=h issue.fixed_version.description %>

-
    - <% ver_id = issue.fixed_version_id - end %> -
  • <%= link_to issue.long_id, :controller => 'issues', :action => 'show', :id => issue %> [<%= issue.tracker.name %>]: <%= issue.subject %>
  • -<% end %> -
\ No newline at end of file diff --git a/redmine/app/views/projects/destroy.rhtml b/redmine/app/views/projects/destroy.rhtml deleted file mode 100644 index d11705be4..000000000 --- a/redmine/app/views/projects/destroy.rhtml +++ /dev/null @@ -1,14 +0,0 @@ -

<%=l(:label_confirmation)%>

-
-
-

<%= @project.name %>
-<%=l(:text_project_destroy_confirmation)%>

- -

- <%= start_form_tag({:controller => 'projects', :action => 'destroy', :id => @project}) %> - <%= hidden_field_tag "confirm", 1 %> - <%= submit_tag l(:button_delete) %> - <%= end_form_tag %> -

-
-
\ No newline at end of file diff --git a/redmine/app/views/projects/export_issues_pdf.rfpdf b/redmine/app/views/projects/export_issues_pdf.rfpdf deleted file mode 100644 index 2e0acf54b..000000000 --- a/redmine/app/views/projects/export_issues_pdf.rfpdf +++ /dev/null @@ -1,11 +0,0 @@ -<% pdf=IfpdfHelper::IFPDF.new - pdf.AliasNbPages - pdf.footer_date = format_date(Date.today) - pdf.AddPage - @issues.each {|i| - render :partial => 'issues/pdf', :locals => { :pdf => pdf, :issue => i } - pdf.AddPage - } -%> - -<%= pdf.Output %> \ No newline at end of file diff --git a/redmine/app/views/projects/gantt.rfpdf b/redmine/app/views/projects/gantt.rfpdf deleted file mode 100644 index 545abb483..000000000 --- a/redmine/app/views/projects/gantt.rfpdf +++ /dev/null @@ -1,168 +0,0 @@ -<% -pdf=IfpdfHelper::IFPDF.new -pdf.AliasNbPages -pdf.footer_date = format_date(Date.today) -pdf.AddPage("L") -pdf.SetFont('Arial','B',12) -pdf.SetX(15) -pdf.Cell(70, 20, @project.name) -pdf.Ln -pdf.SetFont('Arial','B',9) - -subject_width = 70 -header_heigth = 5 - -headers_heigth = header_heigth -show_weeks = false -show_days = false - -if @months < 7 - show_weeks = true - headers_heigth = 2*header_heigth - if @months < 3 - show_days = true - headers_heigth = 3*header_heigth - end -end - -g_width = 210 -zoom = (g_width) / (@date_to - @date_from + 1) -g_height = 120 -t_height = g_height + headers_heigth - -y_start = pdf.GetY - - -# -# Months headers -# -month_f = @date_from -left = subject_width -height = header_heigth -@months.times do - width = ((month_f >> 1) - month_f) * zoom - pdf.SetY(y_start) - pdf.SetX(left) - pdf.Cell(width, height, "#{month_f.year}-#{month_f.month}", "LTR", 0, "C") - left = left + width - month_f = month_f >> 1 -end - -# -# Weeks headers -# -if show_weeks - left = subject_width - height = header_heigth - if @date_from.cwday == 1 - # @date_from is monday - week_f = @date_from - else - # find next monday after @date_from - week_f = @date_from + (7 - @date_from.cwday + 1) - width = (7 - @date_from.cwday + 1) * zoom-1 - pdf.SetY(y_start + header_heigth) - pdf.SetX(left) - pdf.Cell(width + 1, height, "", "LTR") - left = left + width+1 - end - while week_f < @date_to - width = (week_f + 6 <= @date_to) ? 7 * zoom : (@date_to - week_f + 1) * zoom - pdf.SetY(y_start + header_heigth) - pdf.SetX(left) - pdf.Cell(width, height, week_f.cweek.to_s, "LTR", 0, "C") - left = left + width - week_f = week_f+7 - end -end - -# -# Days headers -# -if show_days - left = subject_width - height = header_heigth - wday = @date_from.cwday - pdf.SetFont('Arial','B',7) - (@date_to - @date_from + 1).to_i.times do - width = zoom - pdf.SetY(y_start + 2 * header_heigth) - pdf.SetX(left) - pdf.Cell(width, height, day_name(wday)[0,1], "LTR", 0, "C") - left = left + width - wday = wday + 1 - wday = 1 if wday > 7 - end -end - -pdf.SetY(y_start) -pdf.SetX(15) -pdf.Cell(subject_width+g_width-15, headers_heigth, "", 1) - - -# -# Tasks -# -top = headers_heigth + y_start -pdf.SetFont('Arial','B',7) -@issues.each do |i| - pdf.SetY(top) - pdf.SetX(15) - pdf.Cell(subject_width-15, 5, "#{i.tracker.name} #{i.id}: #{i.subject}".sub(/^(.{30}[^\s]*\s).*$/, '\1 (...)'), "LR") - - pdf.SetY(top) - pdf.SetX(subject_width) - pdf.Cell(g_width, 5, "", "LR") - - i_start_date = (i.start_date >= @date_from ? i.start_date : @date_from ) - i_end_date = (i.due_date <= @date_to ? i.due_date : @date_to ) - - i_done_date = i.start_date + ((i.due_date - i.start_date+1)*i.done_ratio/100).floor - i_done_date = (i_done_date <= @date_from ? @date_from : i_done_date ) - i_done_date = (i_done_date >= @date_to ? @date_to : i_done_date ) - - i_late_date = [i_end_date, Date.today].min if i_start_date < Date.today - - i_left = ((i_start_date - @date_from)*zoom) - i_width = ((i_end_date - i_start_date + 1)*zoom) - d_width = ((i_done_date - i_start_date)*zoom) - l_width = ((i_late_date - i_start_date+1)*zoom) if i_late_date - l_width ||= 0 - - pdf.SetY(top+1.5) - pdf.SetX(subject_width + i_left) - pdf.SetFillColor(200,200,200) - pdf.Cell(i_width, 2, "", 0, 0, "", 1) - - if l_width > 0 - pdf.SetY(top+1.5) - pdf.SetX(subject_width + i_left) - pdf.SetFillColor(255,100,100) - pdf.Cell(l_width, 2, "", 0, 0, "", 1) - end - if d_width > 0 - pdf.SetY(top+1.5) - pdf.SetX(subject_width + i_left) - pdf.SetFillColor(100,100,255) - pdf.Cell(d_width, 2, "", 0, 0, "", 1) - end - - pdf.SetY(top+1.5) - pdf.SetX(subject_width + i_left + i_width) - pdf.Cell(30, 2, "#{i.status.name} #{i.done_ratio}%") - - top = top + 5 - pdf.SetDrawColor(200, 200, 200) - pdf.Line(15, top, subject_width+g_width, top) - if pdf.GetY() > 180 - pdf.AddPage("L") - top = 20 - pdf.Line(15, top, subject_width+g_width, top) - end - pdf.SetDrawColor(0, 0, 0) -end - -pdf.Line(15, top, subject_width+g_width, top) - -%> -<%= pdf.Output %> \ No newline at end of file diff --git a/redmine/app/views/projects/gantt.rhtml b/redmine/app/views/projects/gantt.rhtml deleted file mode 100644 index 78d3ac20a..000000000 --- a/redmine/app/views/projects/gantt.rhtml +++ /dev/null @@ -1,241 +0,0 @@ -

<%= l(:label_gantt_chart) %>

-
- -<%= l(:label_export_to) %>  <%= link_to 'PDF', :zoom => @zoom, :year => @year_from, :month => @month_from, :months => @months, :output => 'pdf' %> - -
- - - - - - -
-<%= start_form_tag %> - -<%= l(:label_months_from) %> -<%= select_month(@month_from, :prefix => "month", :discard_type => true) %> -<%= select_year(@year_from, :prefix => "year", :discard_type => true) %> -<%= hidden_field_tag 'zoom', @zoom %> -<%= submit_tag l(:button_submit), :class => "button-small" %> -<%= end_form_tag %> - -<%= if @zoom < 4 - link_to image_tag('zoom_in'), {:zoom => (@zoom+1), :year => @year_from, :month => @month_from, :months => @months} - else - image_tag 'zoom_in_g' - end %> -<%= if @zoom > 1 - link_to image_tag('zoom_out'), :zoom => (@zoom-1), :year => @year_from, :month => @month_from, :months => @months - else - image_tag 'zoom_out_g' - end %> -
-
- - - -<% zoom = 1 -@zoom.times { zoom = zoom * 2 } - -subject_width = 260 -header_heigth = 18 - -headers_heigth = header_heigth -show_weeks = false -show_days = false - -if @zoom >1 - show_weeks = true - headers_heigth = 2*header_heigth - if @zoom > 2 - show_days = true - headers_heigth = 3*header_heigth - end -end - -g_width = (@date_to - @date_from + 1)*zoom -g_height = [(20 * @issues.length + 6), 206].max -t_height = g_height + headers_heigth -%> - - - - - - -
- -
-
-
-<% -# -# Tasks subjects -# -top = headers_heigth + 8 -@issues.each do |i| %> -
- <%= link_to "#{i.tracker.name} ##{i.id}", :controller => 'issues', :action => 'show', :id => i %>: - <%= i.subject.sub(/^(.{30}[^\s]*\s).*$/, '\1 (...)') %> -
-<% top = top + 20 -end %> -
-
- -
-
 
-<% -# -# Months headers -# -month_f = @date_from -left = 0 -height = (show_weeks ? header_heigth : header_heigth + g_height) -@months.times do - width = ((month_f >> 1) - month_f) * zoom - 1 - %> -
- <%= link_to "#{month_f.year}-#{month_f.month}", :year => month_f.year, :month => month_f.month, :zoom => @zoom, :months => @months %> -
- <% - left = left + width + 1 - month_f = month_f >> 1 -end %> - -<% -# -# Weeks headers -# -if show_weeks - left = 0 - height = (show_days ? header_heigth-1 : header_heigth-1 + g_height) - if @date_from.cwday == 1 - # @date_from is monday - week_f = @date_from - else - # find next monday after @date_from - week_f = @date_from + (7 - @date_from.cwday + 1) - width = (7 - @date_from.cwday + 1) * zoom-1 - %> -
 
- <% - left = left + width+1 - end %> - <% - while week_f < @date_to - width = (week_f + 6 <= @date_to) ? 7 * zoom -1 : (@date_to - week_f + 1) * zoom-1 - %> -
- <%= week_f.cweek %> -
- <% - left = left + width+1 - week_f = week_f+7 - end -end %> - -<% -# -# Days headers -# -if show_days - left = 0 - height = g_height + header_heigth - 1 - wday = @date_from.cwday - (@date_to - @date_from + 1).to_i.times do - width = zoom - 1 - %> -
5 %>" class="m_bg"> - <%= day_name(wday)[0,1] %> -
- <% - left = left + width+1 - wday = wday + 1 - wday = 1 if wday > 7 - end -end %> - -<% -# -# Today red line -# -if Date.today >= @date_from and Date.today <= @date_to %> -
 
-<% end %> - -<% -# -# Tasks -# -top = headers_heigth + 12 -@issues.each do |i| %> - <% - i_start_date = (i.start_date >= @date_from ? i.start_date : @date_from ) - i_end_date = (i.due_date <= @date_to ? i.due_date : @date_to ) - - i_done_date = i.start_date + ((i.due_date - i.start_date+1)*i.done_ratio/100).floor - i_done_date = (i_done_date <= @date_from ? @date_from : i_done_date ) - i_done_date = (i_done_date >= @date_to ? @date_to : i_done_date ) - - i_late_date = [i_end_date, Date.today].min if i_start_date < Date.today - - i_left = ((i_start_date - @date_from)*zoom).floor - i_width = ((i_end_date - i_start_date + 1)*zoom).floor - d_width = ((i_done_date - i_start_date)*zoom).floor - l_width = ((i_late_date - i_start_date+1)*zoom).floor if i_late_date - l_width ||= 0 - %> -
 
- <% if l_width > 0 %> -
 
- <% end %> - <% if d_width > 0 %> -
 
- <% end %> -
- <%= i.status.name %> - <%= (i.done_ratio).to_i %>% -
- <% top = top + 20 -end %> -
-
- - - - - - -
<%= link_to ('« ' + l(:label_previous)), :year => (@date_from << @months).year, :month => (@date_from << @months).month, :zoom => @zoom, :months => @months %> -<%= link_to (l(:label_next) + ' »'), :year => (@date_from >> @months).year, :month => (@date_from >> @months).month, :zoom => @zoom, :months => @months %>
\ No newline at end of file diff --git a/redmine/app/views/projects/list.rhtml b/redmine/app/views/projects/list.rhtml deleted file mode 100644 index 0137086d9..000000000 --- a/redmine/app/views/projects/list.rhtml +++ /dev/null @@ -1,20 +0,0 @@ -

<%=l(:label_public_projects)%>

- - - - <%= sort_header_tag('name', :caption => l(:label_project)) %> - - <%= sort_header_tag('created_on', :caption => l(:field_created_on)) %> - - -<% for project in @projects %> - "> - -<% end %> -
<%=l(:field_description)%>
<%= link_to project.name, :action => 'show', :id => project %> - <%= project.description %> - <%= format_date(project.created_on) %> -
- -<%= pagination_links_full @project_pages %> -[ <%= @project_pages.current.first_item %> - <%= @project_pages.current.last_item %> / <%= @project_count %> ] \ No newline at end of file diff --git a/redmine/app/views/projects/list_documents.rhtml b/redmine/app/views/projects/list_documents.rhtml deleted file mode 100644 index e6cf2b828..000000000 --- a/redmine/app/views/projects/list_documents.rhtml +++ /dev/null @@ -1,23 +0,0 @@ -

<%=l(:label_document_plural)%>

- -<% if @documents.empty? %>

<%= l(:label_no_data) %>

<% end %> - -<% documents = @documents.group_by {|d| d.category } %> -<% documents.each do |category, docs| %> -

<%= category.name %>

-
    -<% docs.each do |d| %> -
  • - <%= link_to d.title, :controller => 'documents', :action => 'show', :id => d %> -
    - <%= truncate d.description, 250 %>
    - <%= format_time(d.created_on) %>
      -
  • - -<% end %> -
-<% end %> - -

-<%= link_to_if_authorized '» ' + l(:label_document_new), :controller => 'projects', :action => 'add_document', :id => @project %> -

diff --git a/redmine/app/views/projects/list_files.rhtml b/redmine/app/views/projects/list_files.rhtml deleted file mode 100644 index 5fe65e6a6..000000000 --- a/redmine/app/views/projects/list_files.rhtml +++ /dev/null @@ -1,46 +0,0 @@ -

<%=l(:label_attachment_plural)%>

- -<% delete_allowed = authorize_for('versions', 'destroy_file') %> - - - - - - - - - - <% if delete_allowed %><% end %> - - -<% for version in @versions %> - <% unless version.attachments.empty? %> - - <% for file in version.attachments %> - "> - - - - - - - <% if delete_allowed %> - - <% end %> - - <% end - reset_cycle %> - <% end %> -<% end %> -
<%=l(:field_version)%><%=l(:field_filename)%><%=l(:label_date)%><%=l(:field_filesize)%>D/LMD5
<%= image_tag 'package' %> <%= version.name %>
<%= link_to file.filename, :controller => 'versions', :action => 'download', :id => version, :attachment_id => file %><%= format_date(file.created_on) %><%= human_size(file.filesize) %><%= file.downloads %><%= file.digest %> - <%= start_form_tag :controller => 'versions', :action => 'destroy_file', :id => version, :attachment_id => file %> - <%= submit_tag l(:button_delete), :class => "button-small" %> - <%= end_form_tag %> -
- -
-

-<%= link_to_if_authorized '» ' + l(:label_attachment_new), :controller => 'projects', :action => 'add_file', :id => @project %> -

- - diff --git a/redmine/app/views/projects/list_issues.rhtml b/redmine/app/views/projects/list_issues.rhtml deleted file mode 100644 index e7e3ceeda..000000000 --- a/redmine/app/views/projects/list_issues.rhtml +++ /dev/null @@ -1,76 +0,0 @@ -

<%=l(:label_issue_plural)%>

-
- -<%= l(:label_export_to) %>  -<%= link_to 'CSV', :action => 'export_issues_csv', :id => @project %>, -<%= link_to 'PDF', :action => 'export_issues_pdf', :id => @project %> - -
- -<%= start_form_tag :action => 'list_issues' %> - - - - - - - - - - - - - -
<%=l(:field_status)%>:
<%= search_filter_tag 'status_id', :class => 'select-small' %>
<%=l(:field_tracker)%>:
<%= search_filter_tag 'tracker_id', :class => 'select-small' %>
<%=l(:field_priority)%>:
<%= search_filter_tag 'priority_id', :class => 'select-small' %>
<%=l(:field_category)%>:
<%= search_filter_tag 'category_id', :class => 'select-small' %>
<%=l(:field_fixed_version)%>:
<%= search_filter_tag 'fixed_version_id', :class => 'select-small' %>
<%=l(:field_author)%>:
<%= search_filter_tag 'author_id', :class => 'select-small' %>
<%=l(:field_assigned_to)%>:
<%= search_filter_tag 'assigned_to_id', :class => 'select-small' %>
<%=l(:label_subproject_plural)%>:
<%= search_filter_tag 'subproject_id', :class => 'select-small' %>
- <%= hidden_field_tag 'set_filter', 1 %> - <%= submit_tag l(:button_apply), :class => 'button-small' %> - - <%= link_to l(:button_clear), :action => 'list_issues', :id => @project, :set_filter => 1 %> -
-<%= end_form_tag %> - -   - - - - - -
<%= check_all_links 'issues_form' %> - <%= l(:label_per_page) %>: - <%= start_form_tag %> - <%= select_tag 'per_page', options_for_select(@results_per_page_options, @results_per_page), :class => 'select-small'%> - <%= submit_tag l(:button_apply), :class => 'button-small'%> - <%= end_form_tag %> -
-<%= start_form_tag({:controller => 'projects', :action => 'move_issues', :id => @project}, :id => 'issues_form' ) %> - - - - - <%= sort_header_tag('issues.id', :caption => '#') %> - <%= sort_header_tag('issue_statuses.name', :caption => l(:field_status)) %> - <%= sort_header_tag('issues.tracker_id', :caption => l(:field_tracker)) %> - - <%= sort_header_tag('users.lastname', :caption => l(:field_author)) %> - <%= sort_header_tag('issues.created_on', :caption => l(:field_created_on)) %> - <%= sort_header_tag('issues.updated_on', :caption => l(:field_updated_on)) %> - - <% for issue in @issues %> - "> - - - - - - - - - - <% end %> -
<%=l(:field_subject)%>
<%= check_box_tag "issue_ids[]", issue.id %><%= link_to issue.long_id, :controller => 'issues', :action => 'show', :id => issue %><%= issue.status.name %><%= issue.tracker.name %><%= link_to issue.subject, :controller => 'issues', :action => 'show', :id => issue %><%= issue.author.display_name %><%= format_time(issue.created_on) %><%= format_time(issue.updated_on) %>
-

-<%= pagination_links_full @issue_pages %> -[ <%= @issue_pages.current.first_item %> - <%= @issue_pages.current.last_item %> / <%= @issue_count %> ] -

-<%= submit_tag l(:button_move) %> -<%= end_form_tag %> \ No newline at end of file diff --git a/redmine/app/views/projects/list_members.rhtml b/redmine/app/views/projects/list_members.rhtml deleted file mode 100644 index 655abb280..000000000 --- a/redmine/app/views/projects/list_members.rhtml +++ /dev/null @@ -1,11 +0,0 @@ -

<%=l(:label_member_plural)%>

- -<% members = @members.group_by {|m| m.role } %> -<% members.each do |role, member| %> -

<%= role.name %>

-
    -<% member.each do |m| %> -
  • <%= link_to m.user.display_name, :controller => 'account', :action => 'show', :id => m.user %> (<%= format_date m.created_on %>)
  • -<% end %> -
-<% end %> diff --git a/redmine/app/views/projects/list_news.rhtml b/redmine/app/views/projects/list_news.rhtml deleted file mode 100644 index 6880de32f..000000000 --- a/redmine/app/views/projects/list_news.rhtml +++ /dev/null @@ -1,18 +0,0 @@ -

<%=l(:label_news_plural)%>

- -<% if @news.empty? %>

<%= l(:label_no_data) %>

<% end %> - -
    -<% for news in @news %> -
  • <%= link_to news.title, :controller => 'news', :action => 'show', :id => news %>
    - <% unless news.summary.empty? %><%= news.summary %>
    <% end %> - <%= news.author.name %>, <%= format_time(news.created_on) %>
      -
  • -<% end %> -
- - -<%= pagination_links_full @news_pages %> -

-<%= link_to_if_authorized '» ' + l(:label_news_new), :controller => 'projects', :action => 'add_news', :id => @project %> -

diff --git a/redmine/app/views/projects/move_issues.rhtml b/redmine/app/views/projects/move_issues.rhtml deleted file mode 100644 index 380d47fd5..000000000 --- a/redmine/app/views/projects/move_issues.rhtml +++ /dev/null @@ -1,24 +0,0 @@ -

<%=l(:button_move)%>

- - -<%= start_form_tag({:action => 'move_issues', :id => @project}, :class => "tabular") %> - -
-

-<% for issue in @issues %> - <%= link_to issue.long_id, :controller => 'issues', :action => 'show', :id => issue %> - <%= issue.subject %> - <%= hidden_field_tag "issue_ids[]", issue.id %>
-<% end %> -(<%= @issues.length%> <%= lwr(:label_issue, @issues.length)%>)

- -  - - -

-<%= select_tag "new_project_id", options_from_collection_for_select(@projects, "id", "name", @project.id) %>

- -

-<%= select_tag "new_tracker_id", options_from_collection_for_select(@trackers, "id", "name") %>

-
-<%= submit_tag l(:button_move) %> -<%= end_form_tag %> diff --git a/redmine/app/views/projects/settings.rhtml b/redmine/app/views/projects/settings.rhtml deleted file mode 100644 index 3f9cba0a0..000000000 --- a/redmine/app/views/projects/settings.rhtml +++ /dev/null @@ -1,118 +0,0 @@ -

<%=l(:label_settings)%>

- -<% if authorize_for('projects', 'edit') %> - <% labelled_tabular_form_for :project, @project, :url => { :action => "edit", :id => @project } do |f| %> - <%= render :partial => 'form', :locals => { :f => f } %> - <%= submit_tag l(:button_save) %> - <% end %> -
  -<% end %> - -
-

<%=l(:label_member_plural)%>

-<%= error_messages_for 'member' %> - -<% for member in @project.members.find(:all, :include => :user) %> - <% unless member.new_record? %> - - - - - - <% end %> -<% end %> -
<%= member.user.display_name %> - <% if authorize_for('members', 'edit') %> - <%= start_form_tag :controller => 'members', :action => 'edit', :id => member %> - - <%= submit_tag l(:button_change), :class => "button-small" %> - <%= end_form_tag %> - <% end %> - - <% if authorize_for('members', 'destroy') %> - <%= start_form_tag :controller => 'members', :action => 'destroy', :id => member %> - <%= submit_tag l(:button_delete), :class => "button-small" %> - <%= end_form_tag %> - <% end %> -
-<% if authorize_for('projects', 'add_member') %> -
-
- <%= start_form_tag :controller => 'projects', :action => 'add_member', :id => @project %> - - - <%= submit_tag l(:button_add) %> - <%= end_form_tag %> -<% end %> -
- -
-

<%=l(:label_version_plural)%>

- -<% for version in @project.versions %> - - - - - - -<% end %> -
<%=h version.name %><%= format_date(version.effective_date) %><%=h version.description %>    - <%= link_to_if_authorized l(:button_edit), :controller => 'versions', :action => 'edit', :id => version %> - <% if authorize_for('versions', 'destroy') %> -   - <%= start_form_tag :controller => 'versions', :action => 'destroy', :id => version %> - <%= submit_tag l(:button_delete), :class => "button-small" %> - <%= end_form_tag %> - <% end %> -
-<% if authorize_for('projects', 'add_version') %> -
- <%= link_to l(:label_version_new), :controller => 'projects', :action => 'add_version', :id => @project %> -<% end %> -
- - -
-

<%=l(:label_issue_category_plural)%>

- -<% for @category in @project.issue_categories %> - <% unless @category.new_record? %> - - - - - - <% end %> -<% end %> -
- <%= start_form_tag :controller => 'issue_categories', :action => 'edit', :id => @category %> - <%= text_field 'category', 'name', :size => 25 %> - - <% if authorize_for('issue_categories', 'edit') %> - <%= submit_tag l(:button_save), :class => "button-small" %> - <%= end_form_tag %> - <% end %> - - <% if authorize_for('issue_categories', 'destroy') %> - <%= start_form_tag :controller => 'issue_categories', :action => 'destroy', :id => @category %> - <%= submit_tag l(:button_delete), :class => "button-small" %> - <%= end_form_tag %> - <% end %> -
-<% if authorize_for('projects', 'add_issue_category') %> -
- <%= start_form_tag :action => 'add_issue_category', :id => @project %> -
- <%= error_messages_for 'issue_category' %> - <%= text_field 'issue_category', 'name', :size => 25 %> - <%= submit_tag l(:button_create) %> - <%= end_form_tag %> -<% end %> -
diff --git a/redmine/app/views/projects/show.rhtml b/redmine/app/views/projects/show.rhtml deleted file mode 100644 index 79e36a586..000000000 --- a/redmine/app/views/projects/show.rhtml +++ /dev/null @@ -1,72 +0,0 @@ -

<%=l(:label_overview)%>

- -
- <%= simple_format(auto_link(@project.description)) %> -
    - <% unless @project.homepage.empty? %>
  • <%=l(:field_homepage)%>: <%= auto_link @project.homepage %>
  • <% end %> -
  • <%=l(:field_created_on)%>: <%= format_date(@project.created_on) %>
  • - <% for custom_value in @custom_values %> - <% if !custom_value.value.empty? %> -
  • <%= custom_value.custom_field.name%>: <%= show_value(custom_value) %>
  • - <% end %> - <% end %> -
- -
-

<%= image_tag "tracker" %> <%=l(:label_tracker_plural)%>

-
    - <% for tracker in @trackers %> -
  • <%= link_to tracker.name, :controller => 'projects', :action => 'list_issues', :id => @project, - :set_filter => 1, - "tracker_id" => tracker.id %>: - <%= issue_count = Issue.count(:conditions => ["project_id=? and tracker_id=? and issue_statuses.is_closed=?", @project.id, tracker.id, false], :include => :status) %> - <%= lwr(:label_open_issues, issue_count) %> -
  • - <% end %> -
- <% if authorize_for 'projects', 'add_issue' %> - » <%=l(:label_issue_new)%>: -
    - <% @trackers.each do |tracker| %> -
  • <%= link_to tracker.name, :controller => 'projects', :action => 'add_issue', :id => @project, :tracker_id => tracker %>
  • - <% end %> -
- <% end %> -
[ <%= link_to l(:label_issue_view_all), :controller => 'projects', :action => 'list_issues', :id => @project, :set_filter => 1 %> ]
-
-
- -
-
-

<%= image_tag "users" %> <%=l(:label_member_plural)%>

- <% for member in @members %> - <%= link_to_user member.user %> (<%= member.role.name %>)
- <% end %> -
- - <% if @subprojects %> -
-

<%= image_tag "projects" %> <%=l(:label_subproject_plural)%>

- <% for subproject in @subprojects %> - <%= link_to subproject.name, :action => 'show', :id => subproject %>
- <% end %> -
- <% end %> - -
-

<%=l(:label_news_latest)%>

- <% for news in @news %> -

<%= news.title %> (<%= link_to_user news.author %> <%= format_time(news.created_on) %>)
- <%= news.summary %> - [<%= link_to l(:label_read), :controller => 'news', :action => 'show', :id => news %>]

-
- <% end %> -
[ <%= link_to l(:label_news_view_all), :controller => 'projects', :action => 'list_news', :id => @project %> ]
-
-
- - - - - - diff --git a/redmine/app/views/reports/_details.rhtml b/redmine/app/views/reports/_details.rhtml deleted file mode 100644 index be4c82e77..000000000 --- a/redmine/app/views/reports/_details.rhtml +++ /dev/null @@ -1,47 +0,0 @@ -<% if @statuses.empty? or rows.empty? %> -

<%=l(:label_no_data)%>

-<% else %> -<% col_width = 70 / (@statuses.length+3) %> - - - -<% for status in @statuses %> - -<% end %> - - - - - -<% for row in rows %> -"> - - <% for status in @statuses %> - - <% end %> - - - -<% end %> - -
<%= status.name %><%=l(:label_open_issues_plural)%><%=l(:label_closed_issues_plural)%><%=l(:label_total)%>
<%= link_to row.name, :controller => 'projects', :action => 'list_issues', :id => @project, - :set_filter => 1, - "#{field_name}" => row.id %><%= link_to (aggregate data, { field_name => row.id, "status_id" => status.id }), - :controller => 'projects', :action => 'list_issues', :id => @project, - :set_filter => 1, - "status_id" => status.id, - "#{field_name}" => row.id %><%= link_to (aggregate data, { field_name => row.id, "closed" => 0 }), - :controller => 'projects', :action => 'list_issues', :id => @project, - :set_filter => 1, - "#{field_name}" => row.id, - "status_id" => "O" %><%= link_to (aggregate data, { field_name => row.id, "closed" => 1 }), - :controller => 'projects', :action => 'list_issues', :id => @project, - :set_filter => 1, - "#{field_name}" => row.id, - "status_id" => "C" %><%= link_to (aggregate data, { field_name => row.id }), - :controller => 'projects', :action => 'list_issues', :id => @project, - :set_filter => 1, - "#{field_name}" => row.id, - "status_id" => "A" %>
-<% end - reset_cycle %> \ No newline at end of file diff --git a/redmine/app/views/reports/_simple.rhtml b/redmine/app/views/reports/_simple.rhtml deleted file mode 100644 index 3be1281c5..000000000 --- a/redmine/app/views/reports/_simple.rhtml +++ /dev/null @@ -1,36 +0,0 @@ -<% if @statuses.empty? or rows.empty? %> -

<%=l(:label_no_data)%>

-<% else %> - - - - - - - - -<% for row in rows %> -"> - - - - -<% end %> - -
<%=l(:label_open_issues_plural)%><%=l(:label_closed_issues_plural)%><%=l(:label_total)%>
<%= link_to row.name, :controller => 'projects', :action => 'list_issues', :id => @project, - :set_filter => 1, - "#{field_name}" => row.id %><%= link_to (aggregate data, { field_name => row.id, "closed" => 0 }), - :controller => 'projects', :action => 'list_issues', :id => @project, - :set_filter => 1, - "#{field_name}" => row.id, - "status_id" => "O" %><%= link_to (aggregate data, { field_name => row.id, "closed" => 1 }), - :controller => 'projects', :action => 'list_issues', :id => @project, - :set_filter => 1, - "#{field_name}" => row.id, - "status_id" => "C" %><%= link_to (aggregate data, { field_name => row.id }), - :controller => 'projects', :action => 'list_issues', :id => @project, - :set_filter => 1, - "#{field_name}" => row.id, - "status_id" => "A" %>
-<% end - reset_cycle %> \ No newline at end of file diff --git a/redmine/app/views/reports/issue_report.rhtml b/redmine/app/views/reports/issue_report.rhtml deleted file mode 100644 index 4927186a9..000000000 --- a/redmine/app/views/reports/issue_report.rhtml +++ /dev/null @@ -1,20 +0,0 @@ -

<%=l(:label_report_plural)%>

- -
-

<%=l(:field_tracker)%>  <%= link_to image_tag('details'), :detail => 'author' %>

-<%= render :partial => 'simple', :locals => { :data => @issues_by_tracker, :field_name => "tracker_id", :rows => @trackers } %> -
-

<%=l(:field_priority)%>  <%= link_to image_tag('details'), :detail => 'priority' %>

-<%= render :partial => 'simple', :locals => { :data => @issues_by_priority, :field_name => "priority_id", :rows => @priorities } %> -
-

<%=l(:field_author)%>  <%= link_to image_tag('details'), :detail => 'author' %>

-<%= render :partial => 'simple', :locals => { :data => @issues_by_author, :field_name => "author_id", :rows => @authors } %> -
-
- -
-

<%=l(:field_category)%>  <%= link_to image_tag('details'), :detail => 'category' %>

-<%= render :partial => 'simple', :locals => { :data => @issues_by_category, :field_name => "category_id", :rows => @categories } %> -
-
- diff --git a/redmine/app/views/reports/issue_report_details.rhtml b/redmine/app/views/reports/issue_report_details.rhtml deleted file mode 100644 index e37d38649..000000000 --- a/redmine/app/views/reports/issue_report_details.rhtml +++ /dev/null @@ -1,7 +0,0 @@ -

<%=l(:label_report_plural)%>

- -

<%=@report_title%>

-<%= render :partial => 'details', :locals => { :data => @data, :field_name => @field, :rows => @rows } %> -
-<%= link_to l(:button_back), :action => 'issue_report' %> - diff --git a/redmine/app/views/roles/_form.rhtml b/redmine/app/views/roles/_form.rhtml deleted file mode 100644 index e0ab1c099..000000000 --- a/redmine/app/views/roles/_form.rhtml +++ /dev/null @@ -1,20 +0,0 @@ -<%= error_messages_for 'role' %> -
- -

<%= f.text_field :name, :required => true %>

- -<%=l(:label_permissions)%>: -<% permissions = @permissions.group_by {|p| p.group_id } %> -<% permissions.keys.sort.each do |group_id| %> -
<%= l(Permission::GROUPS[group_id]) %> -<% permissions[group_id].each do |p| %> -
<%= check_box_tag "permission_ids[]", p.id, (@role.permissions.include? p) %> - <%= l(p.description.to_sym) %> -
-<% end %> -
-<% end %> -
-<%= check_all_links 'role_form' %> - -
diff --git a/redmine/app/views/roles/edit.rhtml b/redmine/app/views/roles/edit.rhtml deleted file mode 100644 index ffe117cef..000000000 --- a/redmine/app/views/roles/edit.rhtml +++ /dev/null @@ -1,6 +0,0 @@ -

<%=l(:label_role)%>

- -<% labelled_tabular_form_for :role, @role, :url => { :action => 'edit' }, :html => {:id => 'role_form'} do |f| %> -<%= render :partial => 'form', :locals => { :f => f } %> -<%= submit_tag l(:button_save) %> -<% end %> diff --git a/redmine/app/views/roles/list.rhtml b/redmine/app/views/roles/list.rhtml deleted file mode 100644 index 169b3d1c0..000000000 --- a/redmine/app/views/roles/list.rhtml +++ /dev/null @@ -1,21 +0,0 @@ -

<%=l(:label_role_plural)%>

- - - - - - - -<% for role in @roles %> - "> - - -<% end %> -
<%=l(:label_role)%>
<%= link_to role.name, :action => 'edit', :id => role %> - <%= button_to l(:button_delete), { :action => 'destroy', :id => role }, :confirm => l(:text_are_you_sure), :class => "button-small" %> -
- -<%= pagination_links_full @role_pages %> -
- -<%= link_to '» ' + l(:label_role_new), :action => 'new' %> diff --git a/redmine/app/views/roles/new.rhtml b/redmine/app/views/roles/new.rhtml deleted file mode 100644 index a73c36cb1..000000000 --- a/redmine/app/views/roles/new.rhtml +++ /dev/null @@ -1,6 +0,0 @@ -

<%=l(:label_role_new)%>

- -<% labelled_tabular_form_for :role, @role, :url => { :action => 'new' }, :html => {:id => 'role_form'} do |f| %> -<%= render :partial => 'form', :locals => { :f => f } %> -<%= submit_tag l(:button_create) %> -<% end %> \ No newline at end of file diff --git a/redmine/app/views/roles/workflow.rhtml b/redmine/app/views/roles/workflow.rhtml deleted file mode 100644 index ee5b3a278..000000000 --- a/redmine/app/views/roles/workflow.rhtml +++ /dev/null @@ -1,71 +0,0 @@ -

<%=l(:label_workflow)%>

- -

<%=l(:text_workflow_edit)%>:

- -<%= start_form_tag ({:action => 'workflow'}, :method => 'get') %> -
-


-

-
- -
-


- - -<%= submit_tag l(:button_edit) %> -

-
-<%= end_form_tag %> - - - -<% unless @tracker.nil? or @role.nil? %> -
- <%= form_tag ({:action => 'workflow', :role_id => @role, :tracker_id => @tracker }, :id => 'workflow_form' ) %> - - - - - - - - <% for new_status in @statuses %> - - <% end %> - - - <% for old_status in @statuses %> - - - - - <% for new_status in @statuses %> - - <% end %> - - - <% end %> -
<%=l(:label_current_status)%><%=l(:label_new_statuses_allowed)%>
<%= new_status.name %>
 
<%= old_status.name %> - - checked="checked"<%end%> - <%if old_status==new_status%>disabled<%end%> - > -
-
-

-<%=l(:button_check_all)%> | -<%=l(:button_uncheck_all)%> -

-
-<%= submit_tag l(:button_save) %> -<%= end_form_tag %> - -<% end %> -
\ No newline at end of file diff --git a/redmine/app/views/trackers/_form.rhtml b/redmine/app/views/trackers/_form.rhtml deleted file mode 100644 index 625c0d636..000000000 --- a/redmine/app/views/trackers/_form.rhtml +++ /dev/null @@ -1,7 +0,0 @@ -<%= error_messages_for 'tracker' %> -
- -

<%= f.text_field :name, :required => true %>

-

<%= f.check_box :is_in_chlog %>

- -
diff --git a/redmine/app/views/trackers/edit.rhtml b/redmine/app/views/trackers/edit.rhtml deleted file mode 100644 index d8411099c..000000000 --- a/redmine/app/views/trackers/edit.rhtml +++ /dev/null @@ -1,6 +0,0 @@ -

<%=l(:label_tracker)%>

- -<% labelled_tabular_form_for :tracker, @tracker, :url => { :action => 'edit' } do |f| %> -<%= render :partial => 'form', :locals => { :f => f } %> -<%= submit_tag l(:button_save) %> -<% end %> \ No newline at end of file diff --git a/redmine/app/views/trackers/list.rhtml b/redmine/app/views/trackers/list.rhtml deleted file mode 100644 index 8d4a5c595..000000000 --- a/redmine/app/views/trackers/list.rhtml +++ /dev/null @@ -1,22 +0,0 @@ -

<%=l(:label_tracker_plural)%>

- - - - - - - -<% for tracker in @trackers %> - "> - - - -<% end %> -
<%=l(:label_tracker)%>
<%= link_to tracker.name, :action => 'edit', :id => tracker %> - <%= button_to l(:button_delete), { :action => 'destroy', :id => tracker }, :confirm => l(:text_are_you_sure), :class => "button-small" %> -
- -<%= pagination_links_full @tracker_pages %> -
- -<%= link_to '» ' + l(:label_tracker_new), :action => 'new' %> diff --git a/redmine/app/views/trackers/new.rhtml b/redmine/app/views/trackers/new.rhtml deleted file mode 100644 index b318a5dc4..000000000 --- a/redmine/app/views/trackers/new.rhtml +++ /dev/null @@ -1,6 +0,0 @@ -

<%=l(:label_tracker_new)%>

- -<% labelled_tabular_form_for :tracker, @tracker, :url => { :action => 'new' } do |f| %> -<%= render :partial => 'form', :locals => { :f => f } %> -<%= submit_tag l(:button_create) %> -<% end %> \ No newline at end of file diff --git a/redmine/app/views/users/_form.rhtml b/redmine/app/views/users/_form.rhtml deleted file mode 100644 index 089d4d23c..000000000 --- a/redmine/app/views/users/_form.rhtml +++ /dev/null @@ -1,30 +0,0 @@ -<%= error_messages_for 'user' %> - - -
-

<%=l(:label_information_plural)%>

-

<%= f.text_field :login, :required => true, :size => 25 %>

-

<%= f.text_field :firstname, :required => true %>

-

<%= f.text_field :lastname, :required => true %>

-

<%= f.text_field :mail, :required => true %>

-

<%= f.select :language, lang_options_for_select %>

- -<% for @custom_value in @custom_values %> -

<%= custom_field_tag_with_label @custom_value %>

-<% end %> - -

<%= f.check_box :admin %>

-

<%= f.check_box :mail_notification %>

-
- -
-

<%=l(:label_authentication)%>

-<% unless @auth_sources.empty? %> -

<%= f.select :auth_source_id, [[l(:label_internal), ""]] + @auth_sources.collect { |a| [a.name, a.id] } %>

-<% end %> -

-<%= password_field_tag 'password', nil, :size => 25 %>

-

-<%= password_field_tag 'password_confirmation', nil, :size => 25 %>

-
- diff --git a/redmine/app/views/users/add.rhtml b/redmine/app/views/users/add.rhtml deleted file mode 100644 index d4c6a15f4..000000000 --- a/redmine/app/views/users/add.rhtml +++ /dev/null @@ -1,6 +0,0 @@ -

<%=l(:label_user_new)%>

- -<% labelled_tabular_form_for :user, @user, :url => { :action => "add" } do |f| %> -<%= render :partial => 'form', :locals => { :f => f } %> -<%= submit_tag l(:button_create) %> -<% end %> \ No newline at end of file diff --git a/redmine/app/views/users/edit.rhtml b/redmine/app/views/users/edit.rhtml deleted file mode 100644 index 2332b70ad..000000000 --- a/redmine/app/views/users/edit.rhtml +++ /dev/null @@ -1,6 +0,0 @@ -

<%=l(:label_user)%>

- -<% labelled_tabular_form_for :user, @user, :url => { :action => "edit" } do |f| %> -<%= render :partial => 'form', :locals => { :f => f } %> -<%= submit_tag l(:button_save) %> -<% end %> diff --git a/redmine/app/views/users/list.rhtml b/redmine/app/views/users/list.rhtml deleted file mode 100644 index 9f4438138..000000000 --- a/redmine/app/views/users/list.rhtml +++ /dev/null @@ -1,46 +0,0 @@ -

<%=l(:label_user_plural)%>

- - - - <%= sort_header_tag('login', :caption => l(:field_login)) %> - <%= sort_header_tag('firstname', :caption => l(:field_firstname)) %> - <%= sort_header_tag('lastname', :caption => l(:field_lastname)) %> - - <%= sort_header_tag('admin', :caption => l(:field_admin)) %> - <%= sort_header_tag('status', :caption => l(:field_status)) %> - <%= sort_header_tag('created_on', :caption => l(:field_created_on)) %> - <%= sort_header_tag('last_login_on', :caption => l(:field_last_login_on)) %> - - -<% for user in @users %> - "> - - - - - - - - - - -<% end %> -
<%=l(:field_mail)%>
<%= link_to user.login, :action => 'edit', :id => user %><%= user.firstname %><%= user.lastname %><%= user.mail %><%= image_tag 'true' if user.admin? %><%= image_tag 'locked' if user.locked? %><%= image_tag 'user_new' if user.registered? %><%= format_time(user.created_on) %><%= format_time(user.last_login_on) unless user.last_login_on.nil? %> - <%= start_form_tag :action => 'edit', :id => user %> - <% if user.locked? %> - <%= hidden_field_tag 'user[status]', User::STATUS_ACTIVE %> - <%= submit_tag l(:button_unlock), :class => "button-small" %> - <% else %> - <%= hidden_field_tag 'user[status]', User::STATUS_LOCKED %> - <%= submit_tag l(:button_lock), :class => "button-small" %> - <% end %> - <%= end_form_tag %> -
- -

<%= pagination_links_full @user_pages %> -[ <%= @user_pages.current.first_item %> - <%= @user_pages.current.last_item %> / <%= @user_count %> ] -

- -

-<%= link_to '» ' + l(:label_user_new), :action => 'add' %> -

\ No newline at end of file diff --git a/redmine/app/views/versions/_form.rhtml b/redmine/app/views/versions/_form.rhtml deleted file mode 100644 index 3d0eb0a2d..000000000 --- a/redmine/app/views/versions/_form.rhtml +++ /dev/null @@ -1,9 +0,0 @@ -<%= error_messages_for 'version' %> - -
- -

<%= f.text_field :name, :size => 20, :required => true %>

-

<%= f.text_field :description, :size => 60 %>

-

<%= f.text_field :effective_date, :size => 10, :required => true %><%= calendar_for('version_effective_date') %>

- -
\ No newline at end of file diff --git a/redmine/app/views/versions/edit.rhtml b/redmine/app/views/versions/edit.rhtml deleted file mode 100644 index 1556ebba1..000000000 --- a/redmine/app/views/versions/edit.rhtml +++ /dev/null @@ -1,7 +0,0 @@ -

<%=l(:label_version)%>

- -<% labelled_tabular_form_for :version, @version, :url => { :action => 'edit' } do |f| %> -<%= render :partial => 'form', :locals => { :f => f } %> -<%= submit_tag l(:button_save) %> -<% end %> - diff --git a/redmine/app/views/welcome/index.rhtml b/redmine/app/views/welcome/index.rhtml deleted file mode 100644 index abee85691..000000000 --- a/redmine/app/views/welcome/index.rhtml +++ /dev/null @@ -1,30 +0,0 @@ -

<%= $RDM_WELCOME_TITLE || l(:label_home) %>

- -
- <% if $RDM_WELCOME_TEXT %>

<%= $RDM_WELCOME_TEXT %>


<% end %> -
-

<%=l(:label_news_latest)%>

- <% for news in @news %> -

- <%= news.title %> (<%= link_to_user news.author %> <%= format_time(news.created_on) %> - <%= news.project.name %>)
- <% unless news.summary.empty? %><%= news.summary %>
<% end %> - [<%= link_to l(:label_read), :controller => 'news', :action => 'show', :id => news %>] -

-
- <% end %> -
-
- -
-
-

<%=l(:label_project_latest)%>

-
    - <% for project in @projects %> -
  • - <%= link_to project.name, :controller => 'projects', :action => 'show', :id => project %> (<%= format_time(project.created_on) %>)
    - <%= project.description %> -
  • - <% end %> -
-
-
-- cgit v1.2.3