瀏覽代碼

Slight improvements to the browser views.

ApplicationHelper#set_html_title replaced by html_title with arguments and can be called several times in views to append elements to the title.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1032 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/0.7.0-RC1
Jean-Philippe Lang 16 年之前
父節點
當前提交
3e0acc0b7e
共有 69 個檔案被更改,包括 107 行新增68 行删除
  1. 11
    10
      app/helpers/application_helper.rb
  2. 1
    1
      app/helpers/repositories_helper.rb
  3. 1
    1
      app/views/admin/index.rhtml
  4. 1
    1
      app/views/admin/info.rhtml
  5. 1
    1
      app/views/admin/mail_options.rhtml
  6. 1
    1
      app/views/admin/projects.rhtml
  7. 1
    1
      app/views/common/403.rhtml
  8. 1
    1
      app/views/common/404.rhtml
  9. 1
    1
      app/views/custom_fields/list.rhtml
  10. 1
    1
      app/views/documents/index.rhtml
  11. 1
    1
      app/views/documents/show.rhtml
  12. 1
    1
      app/views/enumerations/list.rhtml
  13. 1
    1
      app/views/issue_statuses/list.rhtml
  14. 3
    3
      app/views/issues/index.rhtml
  15. 1
    1
      app/views/issues/show.rhtml
  16. 1
    1
      app/views/my/account.rhtml
  17. 1
    1
      app/views/my/page.rhtml
  18. 1
    1
      app/views/news/index.rhtml
  19. 1
    1
      app/views/news/show.rhtml
  20. 1
    1
      app/views/projects/activity.rhtml
  21. 1
    1
      app/views/projects/calendar.rhtml
  22. 1
    1
      app/views/projects/gantt.rhtml
  23. 1
    1
      app/views/projects/list.rhtml
  24. 1
    1
      app/views/projects/list_files.rhtml
  25. 1
    1
      app/views/projects/roadmap.rhtml
  26. 1
    1
      app/views/projects/settings.rhtml
  27. 1
    1
      app/views/projects/show.rhtml
  28. 2
    2
      app/views/repositories/_dir_list.rhtml
  29. 7
    7
      app/views/repositories/_dir_list_content.rhtml
  30. 2
    0
      app/views/repositories/_navigation.rhtml
  31. 6
    6
      app/views/repositories/_revisions.rhtml
  32. 2
    0
      app/views/repositories/annotate.rhtml
  33. 1
    1
      app/views/repositories/browse.rhtml
  34. 1
    1
      app/views/repositories/changes.rhtml
  35. 2
    0
      app/views/repositories/diff.rhtml
  36. 1
    1
      app/views/repositories/revision.rhtml
  37. 1
    1
      app/views/repositories/revisions.rhtml
  38. 1
    1
      app/views/repositories/show.rhtml
  39. 3
    1
      app/views/repositories/stats.rhtml
  40. 1
    1
      app/views/roles/list.rhtml
  41. 1
    1
      app/views/roles/workflow.rhtml
  42. 1
    1
      app/views/search/index.rhtml
  43. 1
    1
      app/views/settings/edit.rhtml
  44. 1
    1
      app/views/trackers/list.rhtml
  45. 1
    1
      app/views/users/list.rhtml
  46. 1
    1
      app/views/versions/show.rhtml
  47. 1
    1
      app/views/wiki/edit.rhtml
  48. 1
    1
      app/views/wiki/show.rhtml
  49. 1
    0
      lang/bg.yml
  50. 1
    0
      lang/cs.yml
  51. 1
    0
      lang/de.yml
  52. 1
    0
      lang/en.yml
  53. 1
    0
      lang/es.yml
  54. 1
    0
      lang/fr.yml
  55. 1
    0
      lang/he.yml
  56. 1
    0
      lang/it.yml
  57. 1
    0
      lang/ja.yml
  58. 1
    0
      lang/ko.yml
  59. 1
    0
      lang/nl.yml
  60. 1
    0
      lang/pl.yml
  61. 1
    0
      lang/pt-br.yml
  62. 1
    0
      lang/pt.yml
  63. 1
    0
      lang/ro.yml
  64. 1
    0
      lang/ru.yml
  65. 1
    0
      lang/sr.yml
  66. 1
    0
      lang/sv.yml
  67. 1
    0
      lang/zh-tw.yml
  68. 1
    0
      lang/zh.yml
  69. 10
    0
      public/stylesheets/application.css

+ 11
- 10
app/helpers/application_helper.rb 查看文件

@@ -145,16 +145,17 @@ module ApplicationHelper
links.size > 1 ? l(:label_display_per_page, links.join(', ')) : nil
end
def set_html_title(text)
@html_header_title = text
end
def html_title
title = []
title << @project.name if @project
title << @html_header_title
title << Setting.app_title
title.compact.join(' - ')
def html_title(*args)
if args.empty?
title = []
title << @project.name if @project
title += @html_title if @html_title
title << Setting.app_title
title.compact.join(' - ')
else
@html_title ||= []
@html_title += args
end
end
ACCESSKEYS = {:edit => 'e',

+ 1
- 1
app/helpers/repositories_helper.rb 查看文件

@@ -55,7 +55,7 @@ module RepositoriesHelper
def with_leading_slash(path)
path ||= ''
path.starts_with?("/") ? "/#{path}" : path
path.starts_with?('/') ? path : "/#{path}"
end

def subversion_field_tags(form, repository)

+ 1
- 1
app/views/admin/index.rhtml 查看文件

@@ -44,4 +44,4 @@
<%= link_to l(:label_information_plural), :controller => 'admin', :action => 'info' %>
</p>

<% set_html_title l(:label_administration) -%>
<% html_title(l(:label_administration)) -%>

+ 1
- 1
app/views/admin/info.rhtml 查看文件

@@ -24,4 +24,4 @@
</table>
<% end %>

<% set_html_title(l(:label_information_plural)) -%>
<% html_title(l(:label_information_plural)) -%>

+ 1
- 1
app/views/admin/mail_options.rhtml 查看文件

@@ -30,4 +30,4 @@
<%= submit_tag l(:button_save) %>
<% end %>

<% set_html_title(l(:field_mail_notification)) -%>
<% html_title(l(:field_mail_notification)) -%>

+ 1
- 1
app/views/admin/projects.rhtml 查看文件

@@ -47,4 +47,4 @@

<p class="pagination"><%= pagination_links_full @project_pages, @project_count %></p>

<% set_html_title l(:label_project_plural) -%>
<% html_title(l(:label_project_plural)) -%>

+ 1
- 1
app/views/common/403.rhtml 查看文件

@@ -3,4 +3,4 @@
<p><%= l(:notice_not_authorized) %></p>
<p><a href="javascript:history.back()">Back</a></p>

<% set_html_title '403' %>
<% html_title '403' %>

+ 1
- 1
app/views/common/404.rhtml 查看文件

@@ -3,4 +3,4 @@
<p><%= l(:notice_file_not_found) %></p>
<p><a href="javascript:history.back()">Back</a></p>

<% set_html_title '404' %>
<% html_title '404' %>

+ 1
- 1
app/views/custom_fields/list.rhtml 查看文件

@@ -52,4 +52,4 @@

<%= javascript_tag "showTab('#{@tab}');" %>

<% set_html_title(l(:label_custom_field_plural)) -%>
<% html_title(l(:label_custom_field_plural)) -%>

+ 1
- 1
app/views/documents/index.rhtml 查看文件

@@ -36,4 +36,4 @@
<% end %>
<% end %>

<% set_html_title l(:label_document_plural) -%>
<% html_title(l(:label_document_plural)) -%>

+ 1
- 1
app/views/documents/show.rhtml 查看文件

@@ -35,4 +35,4 @@
<% end %>
<% end %>

<% set_html_title h(@document.title) -%>
<% html_title @document.title -%>

+ 1
- 1
app/views/enumerations/list.rhtml 查看文件

@@ -25,4 +25,4 @@
<p><%= link_to l(:label_enumeration_new), { :action => 'new', :opt => option } %></p>
<% end %>

<% set_html_title(l(:label_enumerations)) -%>
<% html_title(l(:label_enumerations)) -%>

+ 1
- 1
app/views/issue_statuses/list.rhtml 查看文件

@@ -34,4 +34,4 @@

<p class="pagination"><%= pagination_links_full @issue_status_pages %></p>

<% set_html_title(l(:label_issue_status_plural)) -%>
<% html_title(l(:label_issue_status_plural)) -%>

+ 3
- 3
app/views/issues/index.rhtml 查看文件

@@ -1,6 +1,6 @@
<% if @query.new_record? %>
<h2><%=l(:label_issue_plural)%></h2>
<% set_html_title l(:label_issue_plural) %>
<% html_title(l(:label_issue_plural)) %>
<% form_tag({ :controller => 'queries', :action => 'new' }, :id => 'query_form') do %>
<%= hidden_field_tag('project_id', @project.id) if @project %>
@@ -32,9 +32,9 @@
<% end %>
</div>
<h2><%= @query.name %></h2>
<h2><%=h @query.name %></h2>
<div id="query_form"></div>
<% set_html_title @query.name %>
<% html_title @query.name %>
<% end %>
<%= error_messages_for 'query' %>
<% if @query.valid? %>

+ 1
- 1
app/views/issues/show.rhtml 查看文件

@@ -116,7 +116,7 @@ end %>
</div>
&nbsp;

<% set_html_title "#{@issue.tracker.name} ##{@issue.id}: #{@issue.subject}" %>
<% html_title "#{@issue.tracker.name} ##{@issue.id}: #{@issue.subject}" %>

<% content_for :sidebar do %>
<%= render :partial => 'issues/sidebar' %>

+ 1
- 1
app/views/my/account.rhtml 查看文件

@@ -45,4 +45,4 @@
<%= render :partial => 'sidebar' %>
<% end %>

<% set_html_title l(:label_my_account) -%>
<% html_title(l(:label_my_account)) -%>

+ 1
- 1
app/views/my/page.rhtml 查看文件

@@ -39,4 +39,4 @@
<div id="context-menu" style="display: none;"></div>
<%= javascript_tag 'new ContextMenu({})' %>

<% set_html_title l(:label_my_page) -%>
<% html_title(l(:label_my_page)) -%>

+ 1
- 1
app/views/news/index.rhtml 查看文件

@@ -33,4 +33,4 @@
<%= auto_discovery_link_tag(:atom, params.merge({:format => 'atom', :page => nil, :key => User.current.rss_key})) %>
<% end %>

<% set_html_title l(:label_news_plural) -%>
<% html_title(l(:label_news_plural)) -%>

+ 1
- 1
app/views/news/show.rhtml 查看文件

@@ -43,4 +43,4 @@
<% end %>
<% end %>

<% set_html_title(h(@news.title)) -%>
<% html_title @news.title -%>

+ 1
- 1
app/views/projects/activity.rhtml 查看文件

@@ -40,4 +40,4 @@
<% end %>
<% end %>

<% set_html_title l(:label_activity) -%>
<% html_title(l(:label_activity)) -%>

+ 1
- 1
app/views/projects/calendar.rhtml 查看文件

@@ -39,4 +39,4 @@
<% end %>
<% end %>

<% set_html_title l(:label_calendar) -%>
<% html_title(l(:label_calendar)) -%>

+ 1
- 1
app/views/projects/gantt.rhtml 查看文件

@@ -246,4 +246,4 @@ if Date.today >= @date_from and Date.today <= @date_to %>
<% end %>
<% end %>

<% set_html_title l(:label_gantt) -%>
<% html_title(l(:label_gantt)) -%>

+ 1
- 1
app/views/projects/list.rhtml 查看文件

@@ -17,4 +17,4 @@
</div>
<% end %>

<% set_html_title l(:label_project_plural) -%>
<% html_title(l(:label_project_plural)) -%>

+ 1
- 1
app/views/projects/list_files.rhtml 查看文件

@@ -43,4 +43,4 @@
</tbody>
</table>

<% set_html_title l(:label_attachment_plural) -%>
<% html_title(l(:label_attachment_plural)) -%>

+ 1
- 1
app/views/projects/roadmap.rhtml 查看文件

@@ -47,4 +47,4 @@
<% end %>
<% end %>

<% set_html_title l(:label_roadmap) %>
<% html_title(l(:label_roadmap)) %>

+ 1
- 1
app/views/projects/settings.rhtml 查看文件

@@ -15,4 +15,4 @@
<%= tab = params[:tab] ? h(params[:tab]) : project_settings_tabs.first[:name]
javascript_tag "showTab('#{tab}');" %>

<% set_html_title l(:label_settings) -%>
<% html_title(l(:label_settings)) -%>

+ 1
- 1
app/views/projects/show.rhtml 查看文件

@@ -82,4 +82,4 @@
<%= auto_discovery_link_tag(:atom, {:action => 'activity', :id => @project, :format => 'atom', :key => User.current.rss_key}) %>
<% end %>

<% set_html_title l(:label_overview) -%>
<% html_title(l(:label_overview)) -%>

+ 2
- 2
app/views/repositories/_dir_list.rhtml 查看文件

@@ -1,10 +1,10 @@
<table class="list" id="browser">
<table class="list entries" id="browser">
<thead>
<tr id="root">
<th><%= l(:field_name) %></th>
<th><%= l(:field_filesize) %></th>
<th><%= l(:label_revision) %></th>
<th><%= l(:label_date) %></th>
<th><%= l(:label_age) %></th>
<th><%= l(:field_author) %></th>
<th><%= l(:field_comments) %></th>
</tr>

+ 7
- 7
app/views/repositories/_dir_list_content.rhtml 查看文件

@@ -1,8 +1,8 @@
<% @entries.each do |entry| %>
<% tr_id = Digest::MD5.hexdigest(entry.path)
depth = params[:depth].to_i %>
<tr id="<%= tr_id %>" class="<%= params[:parent_id] %>">
<td>
<tr id="<%= tr_id %>" class="<%= params[:parent_id] %> entry">
<td class="filename">
<%= if entry.is_dir?
link_to_remote h(entry.name),
{:url => {:action => 'browse', :id => @project, :path => entry.path, :rev => @rev, :depth => (depth + 1), :parent_id => tr_id},
@@ -22,11 +22,11 @@ else
:style => "margin-left: #{18 * depth}px;"
end %>
</td>
<td align="right"><%= (entry.size ? number_to_human_size(entry.size) : "?") unless entry.is_dir? %></td>
<td align="right"><%= link_to(entry.lastrev.name, :action => 'revision', :id => @project, :rev => entry.lastrev.identifier) if entry.lastrev && entry.lastrev.identifier %></td>
<td align="center"><%= format_time(entry.lastrev.time) if entry.lastrev %></td>
<td align="center"><em><%=h(entry.lastrev.author) if entry.lastrev %></em></td>
<td class="size"><%= (entry.size ? number_to_human_size(entry.size) : "?") unless entry.is_dir? %></td>
<td class="revision"><%= link_to(entry.lastrev.name, :action => 'revision', :id => @project, :rev => entry.lastrev.identifier) if entry.lastrev && entry.lastrev.identifier %></td>
<td class="age"><%= distance_of_time_in_words(entry.lastrev.time, Time.now) if entry.lastrev && entry.lastrev.time %></td>
<td class="author"><%=h(entry.lastrev.author) if entry.lastrev %></td>
<% changeset = @project.repository.changesets.find_by_revision(entry.lastrev.identifier) if entry.lastrev %>
<td><%=h truncate(changeset.comments, 50) unless changeset.nil? %></td>
<td class="comments"><%=h truncate(changeset.comments, 50) unless changeset.nil? %></td>
</tr>
<% end %>

+ 2
- 0
app/views/repositories/_navigation.rhtml 查看文件

@@ -17,3 +17,5 @@ dirs.each do |dir|
<% end %>

<%= "@ #{revision}" if revision %>

<% html_title(with_leading_slash(path)) -%>

+ 6
- 6
app/views/repositories/_revisions.rhtml 查看文件

@@ -1,5 +1,5 @@
<% form_tag({:controller => 'repositories', :action => 'diff', :id => @project, :path => path}, :method => :get) do %>
<table class="list">
<table class="list changesets">
<thead><tr>
<th>#</th>
<th></th>
@@ -12,17 +12,17 @@
<% show_diff = entry && entry.is_file? && revisions.size > 1 %>
<% line_num = 1 %>
<% revisions.each do |changeset| %>
<tr class="<%= cycle 'odd', 'even' %>">
<tr class="changeset <%= cycle 'odd', 'even' %>">
<td class="id"><%= link_to changeset.revision, :action => 'revision', :id => project, :rev => changeset.revision %></td>
<td class="checkbox"><%= radio_button_tag('rev', changeset.revision, (line_num==1), :id => "cb-#{line_num}", :onclick => "$('cbto-#{line_num+1}').checked=true;") if show_diff && (line_num < revisions.size) %></td>
<td class="checkbox"><%= radio_button_tag('rev_to', changeset.revision, (line_num==2), :id => "cbto-#{line_num}", :onclick => "if ($('cb-#{line_num}').checked==true) {$('cb-#{line_num-1}').checked=true;}") if show_diff && (line_num > 1) %></td>
<td align="center" style="width:15%"><%= format_time(changeset.committed_on) %></td>
<td align="center" style="width:15%"><em><%=h changeset.committer %></em></td>
<td align="left"><%= textilizable(changeset.comments) %></td>
<td class="committed_on"><%= format_time(changeset.committed_on) %></td>
<td class="author"><%=h changeset.committer %></td>
<td class="comments"><%= textilizable(changeset.comments) %></td>
</tr>
<% line_num += 1 %>
<% end %>
</tbody>
</table>
<%= submit_tag(l(:label_view_diff), :class => 'small', :name => nil) if show_diff %>
<%= submit_tag(l(:label_view_diff), :name => nil) if show_diff %>
<% end %>

+ 2
- 0
app/views/repositories/annotate.rhtml 查看文件

@@ -21,6 +21,8 @@
</table>
</div>

<% html_title(l(:button_annotate)) -%>

<% content_for :header_tags do %>
<%= stylesheet_link_tag 'scm' %>
<% end %>

+ 1
- 1
app/views/repositories/browse.rhtml 查看文件

@@ -10,4 +10,4 @@

<% content_for :header_tags do %>
<%= stylesheet_link_tag "scm" %>
<% end %>
<% end %>

+ 1
- 1
app/views/repositories/changes.rhtml 查看文件

@@ -17,4 +17,4 @@

<%= render :partial => 'revisions', :locals => {:project => @project, :path => @path, :revisions => @changesets, :entry => @entry }%>

<% set_html_title(h(@entry.name)) -%>
<% html_title(l(:label_change_plural)) -%>

+ 2
- 0
app/views/repositories/diff.rhtml 查看文件

@@ -88,6 +88,8 @@
<% end %>
<% end %>

<% html_title(with_leading_slash(@path), 'Diff') -%>

<% content_for :header_tags do %>
<%= stylesheet_link_tag "scm" %>
<% end %>

+ 1
- 1
app/views/repositories/revision.rhtml 查看文件

@@ -62,4 +62,4 @@
<%= stylesheet_link_tag "scm" %>
<% end %>

<% set_html_title("#{l(:label_revision)} #{@changeset.revision}") -%>
<% html_title("#{l(:label_revision)} #{@changeset.revision}") -%>

+ 1
- 1
app/views/repositories/revisions.rhtml 查看文件

@@ -16,4 +16,4 @@
<%= auto_discovery_link_tag(:atom, params.merge({:format => 'atom', :page => nil, :key => User.current.rss_key})) %>
<% end %>

<% set_html_title l(:label_revision_plural) -%>
<% html_title(l(:label_revision_plural)) -%>

+ 1
- 1
app/views/repositories/show.rhtml 查看文件

@@ -22,4 +22,4 @@
<%= stylesheet_link_tag "scm" %>
<% end %>

<% set_html_title l(:label_repository) -%>
<% html_title(l(:label_repository)) -%>

+ 3
- 1
app/views/repositories/stats.rhtml 查看文件

@@ -8,4 +8,6 @@
</td></tr>
</table>
<br />
<p><%= link_to l(:button_back), :action => 'show', :id => @project %></p>
<p><%= link_to l(:button_back), :action => 'show', :id => @project %></p>
<% html_title(l(:label_repository), l(:label_statistics)) -%>

+ 1
- 1
app/views/roles/list.rhtml 查看文件

@@ -33,4 +33,4 @@

<p><%= link_to l(:label_permissions_report), :action => 'report' %></p>

<% set_html_title(l(:label_role_plural)) -%>
<% html_title(l(:label_role_plural)) -%>

+ 1
- 1
app/views/roles/workflow.rhtml 查看文件

@@ -55,4 +55,4 @@

<% end %>

<% set_html_title(l(:label_workflow)) -%>
<% html_title(l(:label_workflow)) -%>

+ 1
- 1
app/views/search/index.rhtml 查看文件

@@ -42,4 +42,4 @@
<% end %>
</center></p>
<% set_html_title(l(:label_search)) -%>
<% html_title(l(:label_search)) -%>

+ 1
- 1
app/views/settings/edit.rhtml 查看文件

@@ -102,4 +102,4 @@
<%= submit_tag l(:button_save) %>
<% end %>

<% set_html_title(l(:label_settings)) -%>
<% html_title(l(:label_settings)) -%>

+ 1
- 1
app/views/trackers/list.rhtml 查看文件

@@ -32,4 +32,4 @@

<p class="pagination"><%= pagination_links_full @tracker_pages %></p>

<% set_html_title(l(:label_tracker_plural)) -%>
<% html_title(l(:label_tracker_plural)) -%>

+ 1
- 1
app/views/users/list.rhtml 查看文件

@@ -57,4 +57,4 @@

<p class="pagination"><%= pagination_links_full @user_pages, @user_count %></p>

<% set_html_title(l(:label_user_plural)) -%>
<% html_title(l(:label_user_plural)) -%>

+ 1
- 1
app/views/versions/show.rhtml 查看文件

@@ -11,4 +11,4 @@
<%= render :partial => 'versions/overview', :locals => {:version => @version} %>
<%= render(:partial => "wiki/content", :locals => {:content => @version.wiki_page.content}) if @version.wiki_page %>

<% set_html_title h(@version.name) %>
<% html_title @version.name %>

+ 1
- 1
app/views/wiki/edit.rhtml 查看文件

@@ -28,4 +28,4 @@
<%= stylesheet_link_tag 'scm' %>
<% end %>

<% set_html_title @page.pretty_title %>
<% html_title @page.pretty_title %>

+ 1
- 1
app/views/wiki/show.rhtml 查看文件

@@ -47,4 +47,4 @@
<%= render :partial => 'sidebar' %>
<% end %>

<% set_html_title @page.pretty_title %>
<% html_title @page.pretty_title %>

+ 1
- 0
lang/bg.yml 查看文件

@@ -552,3 +552,4 @@ label_issues_by: Issues by %s
field_searchable: Searchable
label_display_per_page: 'Per page: %s'
setting_per_page_options: Objects per page options
label_age: Age

+ 1
- 0
lang/cs.yml 查看文件

@@ -552,3 +552,4 @@ label_issues_by: Issues by %s
field_searchable: Searchable
label_display_per_page: 'Per page: %s'
setting_per_page_options: Objects per page options
label_age: Age

+ 1
- 0
lang/de.yml 查看文件

@@ -552,3 +552,4 @@ label_issues_by: Issues by %s
field_searchable: Searchable
label_display_per_page: 'Per page: %s'
setting_per_page_options: Objects per page options
label_age: Age

+ 1
- 0
lang/en.yml 查看文件

@@ -458,6 +458,7 @@ label_registration_activation_by_email: account activation by email
label_registration_manual_activation: manual account activation
label_registration_automatic_activation: automatic account activation
label_display_per_page: 'Per page: %s'
label_age: Age

button_login: Login
button_submit: Submit

+ 1
- 0
lang/es.yml 查看文件

@@ -555,3 +555,4 @@ label_issues_by: Issues by %s
field_searchable: Searchable
label_display_per_page: 'Per page: %s'
setting_per_page_options: Objects per page options
label_age: Age

+ 1
- 0
lang/fr.yml 查看文件

@@ -458,6 +458,7 @@ label_registration_activation_by_email: activation du compte par email
label_registration_manual_activation: activation manuelle du compte
label_registration_automatic_activation: activation automatique du compte
label_display_per_page: 'Par page: %s'
label_age: Age

button_login: Connexion
button_submit: Soumettre

+ 1
- 0
lang/he.yml 查看文件

@@ -552,3 +552,4 @@ label_issues_by: Issues by %s
field_searchable: Searchable
label_display_per_page: 'Per page: %s'
setting_per_page_options: Objects per page options
label_age: Age

+ 1
- 0
lang/it.yml 查看文件

@@ -552,3 +552,4 @@ label_issues_by: Issues by %s
field_searchable: Searchable
label_display_per_page: 'Per page: %s'
setting_per_page_options: Objects per page options
label_age: Age

+ 1
- 0
lang/ja.yml 查看文件

@@ -553,3 +553,4 @@ label_issues_by: %s別の問題
field_searchable: Searchable
label_display_per_page: 'Per page: %s'
setting_per_page_options: Objects per page options
label_age: Age

+ 1
- 0
lang/ko.yml 查看文件

@@ -552,3 +552,4 @@ label_issues_by: Issues by %s
field_searchable: Searchable
label_display_per_page: 'Per page: %s'
setting_per_page_options: Objects per page options
label_age: Age

+ 1
- 0
lang/nl.yml 查看文件

@@ -553,3 +553,4 @@ label_issues_by: Issues by %s
field_searchable: Searchable
label_display_per_page: 'Per page: %s'
setting_per_page_options: Objects per page options
label_age: Age

+ 1
- 0
lang/pl.yml 查看文件

@@ -552,3 +552,4 @@ label_issues_by: Zagadnienia wprowadzone przez %s
field_searchable: Searchable
label_display_per_page: 'Per page: %s'
setting_per_page_options: Objects per page options
label_age: Age

+ 1
- 0
lang/pt-br.yml 查看文件

@@ -552,3 +552,4 @@ label_issues_by: Issues by %s
field_searchable: Searchable
label_display_per_page: 'Per page: %s'
setting_per_page_options: Objects per page options
label_age: Age

+ 1
- 0
lang/pt.yml 查看文件

@@ -552,3 +552,4 @@ label_issues_by: Issues by %s
field_searchable: Searchable
label_display_per_page: 'Per page: %s'
setting_per_page_options: Objects per page options
label_age: Age

+ 1
- 0
lang/ro.yml 查看文件

@@ -552,3 +552,4 @@ label_issues_by: Issues by %s
field_searchable: Searchable
label_display_per_page: 'Per page: %s'
setting_per_page_options: Objects per page options
label_age: Age

+ 1
- 0
lang/ru.yml 查看文件

@@ -552,3 +552,4 @@ label_issues_by: Issues by %s
field_searchable: Searchable
label_display_per_page: 'Per page: %s'
setting_per_page_options: Objects per page options
label_age: Age

+ 1
- 0
lang/sr.yml 查看文件

@@ -553,3 +553,4 @@ label_issues_by: Issues by %s
field_searchable: Searchable
label_display_per_page: 'Per page: %s'
setting_per_page_options: Objects per page options
label_age: Age

+ 1
- 0
lang/sv.yml 查看文件

@@ -553,3 +553,4 @@ label_issues_by: Issues by %s
field_searchable: Searchable
label_display_per_page: 'Per page: %s'
setting_per_page_options: Objects per page options
label_age: Age

+ 1
- 0
lang/zh-tw.yml 查看文件

@@ -552,3 +552,4 @@ enumeration_activities: 活動 (time tracking)
field_searchable: Searchable
label_display_per_page: 'Per page: %s'
setting_per_page_options: Objects per page options
label_age: Age

+ 1
- 0
lang/zh.yml 查看文件

@@ -555,3 +555,4 @@ label_issues_by: Issues by %s
field_searchable: Searchable
label_display_per_page: 'Per page: %s'
setting_per_page_options: Objects per page options
label_age: Age

+ 10
- 0
public/stylesheets/application.css 查看文件

@@ -77,6 +77,16 @@ tr.issue td.subject, tr.issue td.category { white-space: normal; }
tr.issue td.subject { text-align: left; }
tr.issue td.done_ratio table.progress { margin-left:auto; margin-right: auto;}

tr.entry { border: 1px solid #f8f8f8; }
tr.entry td { white-space: nowrap; }
tr.entry td.filename { width: 30%; }
tr.entry td.size { text-align: right; font-size: 90%; }
tr.entry td.revision, tr.entry td.author { text-align: center; }
tr.entry td.age { text-align: right; }

tr.changeset td.author { text-align: center; width: 15%; }
tr.changeset td.committed_on { text-align: center; width: 15%; }

tr.message { height: 2.6em; }
tr.message td.last_message { font-size: 80%; }
tr.message.locked td.subject a { background-image: url(../images/locked.png); }

Loading…
取消
儲存