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
This commit is contained in:
parent
636579b17d
commit
3e0acc0b7e
|
@ -145,16 +145,17 @@ module ApplicationHelper
|
||||||
links.size > 1 ? l(:label_display_per_page, links.join(', ')) : nil
|
links.size > 1 ? l(:label_display_per_page, links.join(', ')) : nil
|
||||||
end
|
end
|
||||||
|
|
||||||
def set_html_title(text)
|
def html_title(*args)
|
||||||
@html_header_title = text
|
if args.empty?
|
||||||
end
|
|
||||||
|
|
||||||
def html_title
|
|
||||||
title = []
|
title = []
|
||||||
title << @project.name if @project
|
title << @project.name if @project
|
||||||
title << @html_header_title
|
title += @html_title if @html_title
|
||||||
title << Setting.app_title
|
title << Setting.app_title
|
||||||
title.compact.join(' - ')
|
title.compact.join(' - ')
|
||||||
|
else
|
||||||
|
@html_title ||= []
|
||||||
|
@html_title += args
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
ACCESSKEYS = {:edit => 'e',
|
ACCESSKEYS = {:edit => 'e',
|
||||||
|
|
|
@ -55,7 +55,7 @@ module RepositoriesHelper
|
||||||
|
|
||||||
def with_leading_slash(path)
|
def with_leading_slash(path)
|
||||||
path ||= ''
|
path ||= ''
|
||||||
path.starts_with?("/") ? "/#{path}" : path
|
path.starts_with?('/') ? path : "/#{path}"
|
||||||
end
|
end
|
||||||
|
|
||||||
def subversion_field_tags(form, repository)
|
def subversion_field_tags(form, repository)
|
||||||
|
|
|
@ -44,4 +44,4 @@
|
||||||
<%= link_to l(:label_information_plural), :controller => 'admin', :action => 'info' %>
|
<%= link_to l(:label_information_plural), :controller => 'admin', :action => 'info' %>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<% set_html_title l(:label_administration) -%>
|
<% html_title(l(:label_administration)) -%>
|
||||||
|
|
|
@ -24,4 +24,4 @@
|
||||||
</table>
|
</table>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% set_html_title(l(:label_information_plural)) -%>
|
<% html_title(l(:label_information_plural)) -%>
|
||||||
|
|
|
@ -30,4 +30,4 @@
|
||||||
<%= submit_tag l(:button_save) %>
|
<%= submit_tag l(:button_save) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% set_html_title(l(:field_mail_notification)) -%>
|
<% html_title(l(:field_mail_notification)) -%>
|
||||||
|
|
|
@ -47,4 +47,4 @@
|
||||||
|
|
||||||
<p class="pagination"><%= pagination_links_full @project_pages, @project_count %></p>
|
<p class="pagination"><%= pagination_links_full @project_pages, @project_count %></p>
|
||||||
|
|
||||||
<% set_html_title l(:label_project_plural) -%>
|
<% html_title(l(:label_project_plural)) -%>
|
||||||
|
|
|
@ -3,4 +3,4 @@
|
||||||
<p><%= l(:notice_not_authorized) %></p>
|
<p><%= l(:notice_not_authorized) %></p>
|
||||||
<p><a href="javascript:history.back()">Back</a></p>
|
<p><a href="javascript:history.back()">Back</a></p>
|
||||||
|
|
||||||
<% set_html_title '403' %>
|
<% html_title '403' %>
|
||||||
|
|
|
@ -3,4 +3,4 @@
|
||||||
<p><%= l(:notice_file_not_found) %></p>
|
<p><%= l(:notice_file_not_found) %></p>
|
||||||
<p><a href="javascript:history.back()">Back</a></p>
|
<p><a href="javascript:history.back()">Back</a></p>
|
||||||
|
|
||||||
<% set_html_title '404' %>
|
<% html_title '404' %>
|
||||||
|
|
|
@ -52,4 +52,4 @@
|
||||||
|
|
||||||
<%= javascript_tag "showTab('#{@tab}');" %>
|
<%= javascript_tag "showTab('#{@tab}');" %>
|
||||||
|
|
||||||
<% set_html_title(l(:label_custom_field_plural)) -%>
|
<% html_title(l(:label_custom_field_plural)) -%>
|
||||||
|
|
|
@ -36,4 +36,4 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% set_html_title l(:label_document_plural) -%>
|
<% html_title(l(:label_document_plural)) -%>
|
||||||
|
|
|
@ -35,4 +35,4 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% set_html_title h(@document.title) -%>
|
<% html_title @document.title -%>
|
||||||
|
|
|
@ -25,4 +25,4 @@
|
||||||
<p><%= link_to l(:label_enumeration_new), { :action => 'new', :opt => option } %></p>
|
<p><%= link_to l(:label_enumeration_new), { :action => 'new', :opt => option } %></p>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% set_html_title(l(:label_enumerations)) -%>
|
<% html_title(l(:label_enumerations)) -%>
|
||||||
|
|
|
@ -34,4 +34,4 @@
|
||||||
|
|
||||||
<p class="pagination"><%= pagination_links_full @issue_status_pages %></p>
|
<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)) -%>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<% if @query.new_record? %>
|
<% if @query.new_record? %>
|
||||||
<h2><%=l(:label_issue_plural)%></h2>
|
<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 %>
|
<% form_tag({ :controller => 'queries', :action => 'new' }, :id => 'query_form') do %>
|
||||||
<%= hidden_field_tag('project_id', @project.id) if @project %>
|
<%= hidden_field_tag('project_id', @project.id) if @project %>
|
||||||
|
@ -32,9 +32,9 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2><%= @query.name %></h2>
|
<h2><%=h @query.name %></h2>
|
||||||
<div id="query_form"></div>
|
<div id="query_form"></div>
|
||||||
<% set_html_title @query.name %>
|
<% html_title @query.name %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<%= error_messages_for 'query' %>
|
<%= error_messages_for 'query' %>
|
||||||
<% if @query.valid? %>
|
<% if @query.valid? %>
|
||||||
|
|
|
@ -116,7 +116,7 @@ end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<% set_html_title "#{@issue.tracker.name} ##{@issue.id}: #{@issue.subject}" %>
|
<% html_title "#{@issue.tracker.name} ##{@issue.id}: #{@issue.subject}" %>
|
||||||
|
|
||||||
<% content_for :sidebar do %>
|
<% content_for :sidebar do %>
|
||||||
<%= render :partial => 'issues/sidebar' %>
|
<%= render :partial => 'issues/sidebar' %>
|
||||||
|
|
|
@ -45,4 +45,4 @@
|
||||||
<%= render :partial => 'sidebar' %>
|
<%= render :partial => 'sidebar' %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% set_html_title l(:label_my_account) -%>
|
<% html_title(l(:label_my_account)) -%>
|
||||||
|
|
|
@ -39,4 +39,4 @@
|
||||||
<div id="context-menu" style="display: none;"></div>
|
<div id="context-menu" style="display: none;"></div>
|
||||||
<%= javascript_tag 'new ContextMenu({})' %>
|
<%= javascript_tag 'new ContextMenu({})' %>
|
||||||
|
|
||||||
<% set_html_title l(:label_my_page) -%>
|
<% html_title(l(:label_my_page)) -%>
|
||||||
|
|
|
@ -33,4 +33,4 @@
|
||||||
<%= auto_discovery_link_tag(:atom, params.merge({:format => 'atom', :page => nil, :key => User.current.rss_key})) %>
|
<%= auto_discovery_link_tag(:atom, params.merge({:format => 'atom', :page => nil, :key => User.current.rss_key})) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% set_html_title l(:label_news_plural) -%>
|
<% html_title(l(:label_news_plural)) -%>
|
||||||
|
|
|
@ -43,4 +43,4 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% set_html_title(h(@news.title)) -%>
|
<% html_title @news.title -%>
|
||||||
|
|
|
@ -40,4 +40,4 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% set_html_title l(:label_activity) -%>
|
<% html_title(l(:label_activity)) -%>
|
||||||
|
|
|
@ -39,4 +39,4 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% set_html_title l(:label_calendar) -%>
|
<% html_title(l(:label_calendar)) -%>
|
||||||
|
|
|
@ -246,4 +246,4 @@ if Date.today >= @date_from and Date.today <= @date_to %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% set_html_title l(:label_gantt) -%>
|
<% html_title(l(:label_gantt)) -%>
|
||||||
|
|
|
@ -17,4 +17,4 @@
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% set_html_title l(:label_project_plural) -%>
|
<% html_title(l(:label_project_plural)) -%>
|
||||||
|
|
|
@ -43,4 +43,4 @@
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<% set_html_title l(:label_attachment_plural) -%>
|
<% html_title(l(:label_attachment_plural)) -%>
|
||||||
|
|
|
@ -47,4 +47,4 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% set_html_title l(:label_roadmap) %>
|
<% html_title(l(:label_roadmap)) %>
|
||||||
|
|
|
@ -15,4 +15,4 @@
|
||||||
<%= tab = params[:tab] ? h(params[:tab]) : project_settings_tabs.first[:name]
|
<%= tab = params[:tab] ? h(params[:tab]) : project_settings_tabs.first[:name]
|
||||||
javascript_tag "showTab('#{tab}');" %>
|
javascript_tag "showTab('#{tab}');" %>
|
||||||
|
|
||||||
<% set_html_title l(:label_settings) -%>
|
<% html_title(l(:label_settings)) -%>
|
||||||
|
|
|
@ -82,4 +82,4 @@
|
||||||
<%= auto_discovery_link_tag(:atom, {:action => 'activity', :id => @project, :format => 'atom', :key => User.current.rss_key}) %>
|
<%= auto_discovery_link_tag(:atom, {:action => 'activity', :id => @project, :format => 'atom', :key => User.current.rss_key}) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% set_html_title l(:label_overview) -%>
|
<% html_title(l(:label_overview)) -%>
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
<table class="list" id="browser">
|
<table class="list entries" id="browser">
|
||||||
<thead>
|
<thead>
|
||||||
<tr id="root">
|
<tr id="root">
|
||||||
<th><%= l(:field_name) %></th>
|
<th><%= l(:field_name) %></th>
|
||||||
<th><%= l(:field_filesize) %></th>
|
<th><%= l(:field_filesize) %></th>
|
||||||
<th><%= l(:label_revision) %></th>
|
<th><%= l(:label_revision) %></th>
|
||||||
<th><%= l(:label_date) %></th>
|
<th><%= l(:label_age) %></th>
|
||||||
<th><%= l(:field_author) %></th>
|
<th><%= l(:field_author) %></th>
|
||||||
<th><%= l(:field_comments) %></th>
|
<th><%= l(:field_comments) %></th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<% @entries.each do |entry| %>
|
<% @entries.each do |entry| %>
|
||||||
<% tr_id = Digest::MD5.hexdigest(entry.path)
|
<% tr_id = Digest::MD5.hexdigest(entry.path)
|
||||||
depth = params[:depth].to_i %>
|
depth = params[:depth].to_i %>
|
||||||
<tr id="<%= tr_id %>" class="<%= params[:parent_id] %>">
|
<tr id="<%= tr_id %>" class="<%= params[:parent_id] %> entry">
|
||||||
<td>
|
<td class="filename">
|
||||||
<%= if entry.is_dir?
|
<%= if entry.is_dir?
|
||||||
link_to_remote h(entry.name),
|
link_to_remote h(entry.name),
|
||||||
{:url => {:action => 'browse', :id => @project, :path => entry.path, :rev => @rev, :depth => (depth + 1), :parent_id => tr_id},
|
{: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;"
|
:style => "margin-left: #{18 * depth}px;"
|
||||||
end %>
|
end %>
|
||||||
</td>
|
</td>
|
||||||
<td align="right"><%= (entry.size ? number_to_human_size(entry.size) : "?") unless entry.is_dir? %></td>
|
<td class="size"><%= (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 class="revision"><%= 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 class="age"><%= distance_of_time_in_words(entry.lastrev.time, Time.now) if entry.lastrev && entry.lastrev.time %></td>
|
||||||
<td align="center"><em><%=h(entry.lastrev.author) if entry.lastrev %></em></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 %>
|
<% 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>
|
</tr>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -17,3 +17,5 @@ dirs.each do |dir|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<%= "@ #{revision}" if revision %>
|
<%= "@ #{revision}" if revision %>
|
||||||
|
|
||||||
|
<% html_title(with_leading_slash(path)) -%>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<% form_tag({:controller => 'repositories', :action => 'diff', :id => @project, :path => path}, :method => :get) do %>
|
<% form_tag({:controller => 'repositories', :action => 'diff', :id => @project, :path => path}, :method => :get) do %>
|
||||||
<table class="list">
|
<table class="list changesets">
|
||||||
<thead><tr>
|
<thead><tr>
|
||||||
<th>#</th>
|
<th>#</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
|
@ -12,17 +12,17 @@
|
||||||
<% show_diff = entry && entry.is_file? && revisions.size > 1 %>
|
<% show_diff = entry && entry.is_file? && revisions.size > 1 %>
|
||||||
<% line_num = 1 %>
|
<% line_num = 1 %>
|
||||||
<% revisions.each do |changeset| %>
|
<% 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="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', 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 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 class="committed_on"><%= format_time(changeset.committed_on) %></td>
|
||||||
<td align="center" style="width:15%"><em><%=h changeset.committer %></em></td>
|
<td class="author"><%=h changeset.committer %></td>
|
||||||
<td align="left"><%= textilizable(changeset.comments) %></td>
|
<td class="comments"><%= textilizable(changeset.comments) %></td>
|
||||||
</tr>
|
</tr>
|
||||||
<% line_num += 1 %>
|
<% line_num += 1 %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</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 %>
|
<% end %>
|
||||||
|
|
|
@ -21,6 +21,8 @@
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<% html_title(l(:button_annotate)) -%>
|
||||||
|
|
||||||
<% content_for :header_tags do %>
|
<% content_for :header_tags do %>
|
||||||
<%= stylesheet_link_tag 'scm' %>
|
<%= stylesheet_link_tag 'scm' %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -17,4 +17,4 @@
|
||||||
|
|
||||||
<%= render :partial => 'revisions', :locals => {:project => @project, :path => @path, :revisions => @changesets, :entry => @entry }%>
|
<%= render :partial => 'revisions', :locals => {:project => @project, :path => @path, :revisions => @changesets, :entry => @entry }%>
|
||||||
|
|
||||||
<% set_html_title(h(@entry.name)) -%>
|
<% html_title(l(:label_change_plural)) -%>
|
||||||
|
|
|
@ -88,6 +88,8 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
<% html_title(with_leading_slash(@path), 'Diff') -%>
|
||||||
|
|
||||||
<% content_for :header_tags do %>
|
<% content_for :header_tags do %>
|
||||||
<%= stylesheet_link_tag "scm" %>
|
<%= stylesheet_link_tag "scm" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -62,4 +62,4 @@
|
||||||
<%= stylesheet_link_tag "scm" %>
|
<%= stylesheet_link_tag "scm" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% set_html_title("#{l(:label_revision)} #{@changeset.revision}") -%>
|
<% html_title("#{l(:label_revision)} #{@changeset.revision}") -%>
|
||||||
|
|
|
@ -16,4 +16,4 @@
|
||||||
<%= auto_discovery_link_tag(:atom, params.merge({:format => 'atom', :page => nil, :key => User.current.rss_key})) %>
|
<%= auto_discovery_link_tag(:atom, params.merge({:format => 'atom', :page => nil, :key => User.current.rss_key})) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% set_html_title l(:label_revision_plural) -%>
|
<% html_title(l(:label_revision_plural)) -%>
|
||||||
|
|
|
@ -22,4 +22,4 @@
|
||||||
<%= stylesheet_link_tag "scm" %>
|
<%= stylesheet_link_tag "scm" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% set_html_title l(:label_repository) -%>
|
<% html_title(l(:label_repository)) -%>
|
||||||
|
|
|
@ -9,3 +9,5 @@
|
||||||
</table>
|
</table>
|
||||||
<br />
|
<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)) -%>
|
||||||
|
|
|
@ -33,4 +33,4 @@
|
||||||
|
|
||||||
<p><%= link_to l(:label_permissions_report), :action => 'report' %></p>
|
<p><%= link_to l(:label_permissions_report), :action => 'report' %></p>
|
||||||
|
|
||||||
<% set_html_title(l(:label_role_plural)) -%>
|
<% html_title(l(:label_role_plural)) -%>
|
||||||
|
|
|
@ -55,4 +55,4 @@
|
||||||
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% set_html_title(l(:label_workflow)) -%>
|
<% html_title(l(:label_workflow)) -%>
|
||||||
|
|
|
@ -42,4 +42,4 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</center></p>
|
</center></p>
|
||||||
|
|
||||||
<% set_html_title(l(:label_search)) -%>
|
<% html_title(l(:label_search)) -%>
|
||||||
|
|
|
@ -102,4 +102,4 @@
|
||||||
<%= submit_tag l(:button_save) %>
|
<%= submit_tag l(:button_save) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% set_html_title(l(:label_settings)) -%>
|
<% html_title(l(:label_settings)) -%>
|
||||||
|
|
|
@ -32,4 +32,4 @@
|
||||||
|
|
||||||
<p class="pagination"><%= pagination_links_full @tracker_pages %></p>
|
<p class="pagination"><%= pagination_links_full @tracker_pages %></p>
|
||||||
|
|
||||||
<% set_html_title(l(:label_tracker_plural)) -%>
|
<% html_title(l(:label_tracker_plural)) -%>
|
||||||
|
|
|
@ -57,4 +57,4 @@
|
||||||
|
|
||||||
<p class="pagination"><%= pagination_links_full @user_pages, @user_count %></p>
|
<p class="pagination"><%= pagination_links_full @user_pages, @user_count %></p>
|
||||||
|
|
||||||
<% set_html_title(l(:label_user_plural)) -%>
|
<% html_title(l(:label_user_plural)) -%>
|
||||||
|
|
|
@ -11,4 +11,4 @@
|
||||||
<%= render :partial => 'versions/overview', :locals => {:version => @version} %>
|
<%= render :partial => 'versions/overview', :locals => {:version => @version} %>
|
||||||
<%= render(:partial => "wiki/content", :locals => {:content => @version.wiki_page.content}) if @version.wiki_page %>
|
<%= render(:partial => "wiki/content", :locals => {:content => @version.wiki_page.content}) if @version.wiki_page %>
|
||||||
|
|
||||||
<% set_html_title h(@version.name) %>
|
<% html_title @version.name %>
|
||||||
|
|
|
@ -28,4 +28,4 @@
|
||||||
<%= stylesheet_link_tag 'scm' %>
|
<%= stylesheet_link_tag 'scm' %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% set_html_title @page.pretty_title %>
|
<% html_title @page.pretty_title %>
|
||||||
|
|
|
@ -47,4 +47,4 @@
|
||||||
<%= render :partial => 'sidebar' %>
|
<%= render :partial => 'sidebar' %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% set_html_title @page.pretty_title %>
|
<% html_title @page.pretty_title %>
|
||||||
|
|
|
@ -552,3 +552,4 @@ label_issues_by: Issues by %s
|
||||||
field_searchable: Searchable
|
field_searchable: Searchable
|
||||||
label_display_per_page: 'Per page: %s'
|
label_display_per_page: 'Per page: %s'
|
||||||
setting_per_page_options: Objects per page options
|
setting_per_page_options: Objects per page options
|
||||||
|
label_age: Age
|
||||||
|
|
|
@ -552,3 +552,4 @@ label_issues_by: Issues by %s
|
||||||
field_searchable: Searchable
|
field_searchable: Searchable
|
||||||
label_display_per_page: 'Per page: %s'
|
label_display_per_page: 'Per page: %s'
|
||||||
setting_per_page_options: Objects per page options
|
setting_per_page_options: Objects per page options
|
||||||
|
label_age: Age
|
||||||
|
|
|
@ -552,3 +552,4 @@ label_issues_by: Issues by %s
|
||||||
field_searchable: Searchable
|
field_searchable: Searchable
|
||||||
label_display_per_page: 'Per page: %s'
|
label_display_per_page: 'Per page: %s'
|
||||||
setting_per_page_options: Objects per page options
|
setting_per_page_options: Objects per page options
|
||||||
|
label_age: Age
|
||||||
|
|
|
@ -458,6 +458,7 @@ label_registration_activation_by_email: account activation by email
|
||||||
label_registration_manual_activation: manual account activation
|
label_registration_manual_activation: manual account activation
|
||||||
label_registration_automatic_activation: automatic account activation
|
label_registration_automatic_activation: automatic account activation
|
||||||
label_display_per_page: 'Per page: %s'
|
label_display_per_page: 'Per page: %s'
|
||||||
|
label_age: Age
|
||||||
|
|
||||||
button_login: Login
|
button_login: Login
|
||||||
button_submit: Submit
|
button_submit: Submit
|
||||||
|
|
|
@ -555,3 +555,4 @@ label_issues_by: Issues by %s
|
||||||
field_searchable: Searchable
|
field_searchable: Searchable
|
||||||
label_display_per_page: 'Per page: %s'
|
label_display_per_page: 'Per page: %s'
|
||||||
setting_per_page_options: Objects per page options
|
setting_per_page_options: Objects per page options
|
||||||
|
label_age: Age
|
||||||
|
|
|
@ -458,6 +458,7 @@ label_registration_activation_by_email: activation du compte par email
|
||||||
label_registration_manual_activation: activation manuelle du compte
|
label_registration_manual_activation: activation manuelle du compte
|
||||||
label_registration_automatic_activation: activation automatique du compte
|
label_registration_automatic_activation: activation automatique du compte
|
||||||
label_display_per_page: 'Par page: %s'
|
label_display_per_page: 'Par page: %s'
|
||||||
|
label_age: Age
|
||||||
|
|
||||||
button_login: Connexion
|
button_login: Connexion
|
||||||
button_submit: Soumettre
|
button_submit: Soumettre
|
||||||
|
|
|
@ -552,3 +552,4 @@ label_issues_by: Issues by %s
|
||||||
field_searchable: Searchable
|
field_searchable: Searchable
|
||||||
label_display_per_page: 'Per page: %s'
|
label_display_per_page: 'Per page: %s'
|
||||||
setting_per_page_options: Objects per page options
|
setting_per_page_options: Objects per page options
|
||||||
|
label_age: Age
|
||||||
|
|
|
@ -552,3 +552,4 @@ label_issues_by: Issues by %s
|
||||||
field_searchable: Searchable
|
field_searchable: Searchable
|
||||||
label_display_per_page: 'Per page: %s'
|
label_display_per_page: 'Per page: %s'
|
||||||
setting_per_page_options: Objects per page options
|
setting_per_page_options: Objects per page options
|
||||||
|
label_age: Age
|
||||||
|
|
|
@ -553,3 +553,4 @@ label_issues_by: %s別の問題
|
||||||
field_searchable: Searchable
|
field_searchable: Searchable
|
||||||
label_display_per_page: 'Per page: %s'
|
label_display_per_page: 'Per page: %s'
|
||||||
setting_per_page_options: Objects per page options
|
setting_per_page_options: Objects per page options
|
||||||
|
label_age: Age
|
||||||
|
|
|
@ -552,3 +552,4 @@ label_issues_by: Issues by %s
|
||||||
field_searchable: Searchable
|
field_searchable: Searchable
|
||||||
label_display_per_page: 'Per page: %s'
|
label_display_per_page: 'Per page: %s'
|
||||||
setting_per_page_options: Objects per page options
|
setting_per_page_options: Objects per page options
|
||||||
|
label_age: Age
|
||||||
|
|
|
@ -553,3 +553,4 @@ label_issues_by: Issues by %s
|
||||||
field_searchable: Searchable
|
field_searchable: Searchable
|
||||||
label_display_per_page: 'Per page: %s'
|
label_display_per_page: 'Per page: %s'
|
||||||
setting_per_page_options: Objects per page options
|
setting_per_page_options: Objects per page options
|
||||||
|
label_age: Age
|
||||||
|
|
|
@ -552,3 +552,4 @@ label_issues_by: Zagadnienia wprowadzone przez %s
|
||||||
field_searchable: Searchable
|
field_searchable: Searchable
|
||||||
label_display_per_page: 'Per page: %s'
|
label_display_per_page: 'Per page: %s'
|
||||||
setting_per_page_options: Objects per page options
|
setting_per_page_options: Objects per page options
|
||||||
|
label_age: Age
|
||||||
|
|
|
@ -552,3 +552,4 @@ label_issues_by: Issues by %s
|
||||||
field_searchable: Searchable
|
field_searchable: Searchable
|
||||||
label_display_per_page: 'Per page: %s'
|
label_display_per_page: 'Per page: %s'
|
||||||
setting_per_page_options: Objects per page options
|
setting_per_page_options: Objects per page options
|
||||||
|
label_age: Age
|
||||||
|
|
|
@ -552,3 +552,4 @@ label_issues_by: Issues by %s
|
||||||
field_searchable: Searchable
|
field_searchable: Searchable
|
||||||
label_display_per_page: 'Per page: %s'
|
label_display_per_page: 'Per page: %s'
|
||||||
setting_per_page_options: Objects per page options
|
setting_per_page_options: Objects per page options
|
||||||
|
label_age: Age
|
||||||
|
|
|
@ -552,3 +552,4 @@ label_issues_by: Issues by %s
|
||||||
field_searchable: Searchable
|
field_searchable: Searchable
|
||||||
label_display_per_page: 'Per page: %s'
|
label_display_per_page: 'Per page: %s'
|
||||||
setting_per_page_options: Objects per page options
|
setting_per_page_options: Objects per page options
|
||||||
|
label_age: Age
|
||||||
|
|
|
@ -552,3 +552,4 @@ label_issues_by: Issues by %s
|
||||||
field_searchable: Searchable
|
field_searchable: Searchable
|
||||||
label_display_per_page: 'Per page: %s'
|
label_display_per_page: 'Per page: %s'
|
||||||
setting_per_page_options: Objects per page options
|
setting_per_page_options: Objects per page options
|
||||||
|
label_age: Age
|
||||||
|
|
|
@ -553,3 +553,4 @@ label_issues_by: Issues by %s
|
||||||
field_searchable: Searchable
|
field_searchable: Searchable
|
||||||
label_display_per_page: 'Per page: %s'
|
label_display_per_page: 'Per page: %s'
|
||||||
setting_per_page_options: Objects per page options
|
setting_per_page_options: Objects per page options
|
||||||
|
label_age: Age
|
||||||
|
|
|
@ -553,3 +553,4 @@ label_issues_by: Issues by %s
|
||||||
field_searchable: Searchable
|
field_searchable: Searchable
|
||||||
label_display_per_page: 'Per page: %s'
|
label_display_per_page: 'Per page: %s'
|
||||||
setting_per_page_options: Objects per page options
|
setting_per_page_options: Objects per page options
|
||||||
|
label_age: Age
|
||||||
|
|
|
@ -552,3 +552,4 @@ enumeration_activities: 活動 (time tracking)
|
||||||
field_searchable: Searchable
|
field_searchable: Searchable
|
||||||
label_display_per_page: 'Per page: %s'
|
label_display_per_page: 'Per page: %s'
|
||||||
setting_per_page_options: Objects per page options
|
setting_per_page_options: Objects per page options
|
||||||
|
label_age: Age
|
||||||
|
|
|
@ -555,3 +555,4 @@ label_issues_by: Issues by %s
|
||||||
field_searchable: Searchable
|
field_searchable: Searchable
|
||||||
label_display_per_page: 'Per page: %s'
|
label_display_per_page: 'Per page: %s'
|
||||||
setting_per_page_options: Objects per page options
|
setting_per_page_options: Objects per page options
|
||||||
|
label_age: Age
|
||||||
|
|
|
@ -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.subject { text-align: left; }
|
||||||
tr.issue td.done_ratio table.progress { margin-left:auto; margin-right: auto;}
|
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 { height: 2.6em; }
|
||||||
tr.message td.last_message { font-size: 80%; }
|
tr.message td.last_message { font-size: 80%; }
|
||||||
tr.message.locked td.subject a { background-image: url(../images/locked.png); }
|
tr.message.locked td.subject a { background-image: url(../images/locked.png); }
|
||||||
|
|
Loading…
Reference in New Issue