##// END OF EJS Templates
Raise the height of text custom fields....
Raise the height of text custom fields. git-svn-id: http://svn.redmine.org/redmine/trunk@16252 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r15867:9814dcf231b5
r15870:8e4cb42f8e06
Show More
show.html.erb
129 lines | 5.0 KiB | text/plain | TextLexer
Jean-Philippe Lang
Adds a 'Add subprojects' permission....
r3124 <div class="contextual">
Toshi MARUYAMA
replace tabs to spaces at app/views/projects/show.html.erb...
r7112 <% if User.current.allowed_to?(:add_subprojects, @project) %>
Jean-Philippe Lang
Code cleanup, use named routes....
r10844 <%= link_to l(:label_subproject_new), new_project_path(:parent_id => @project), :class => 'icon icon-add' %>
Toshi MARUYAMA
replace tabs to spaces at app/views/projects/show.html.erb...
r7112 <% end %>
Jean-Philippe Lang
Ability to close projects (read-only) (#3640)....
r9700 <% if User.current.allowed_to?(:close_project, @project) %>
<% if @project.active? %>
<%= link_to l(:button_close), close_project_path(@project), :data => {:confirm => l(:text_are_you_sure)}, :method => :post, :class => 'icon icon-lock' %>
<% else %>
<%= link_to l(:button_reopen), reopen_project_path(@project), :data => {:confirm => l(:text_are_you_sure)}, :method => :post, :class => 'icon icon-unlock' %>
<% end %>
<% end %>
Jean-Philippe Lang
Adds a 'Add subprojects' permission....
r3124 </div>
Toshi MARUYAMA
remove trailing white-spaces from app/views/projects/show.rhtml....
r6221 <h2><%=l(:label_overview)%></h2>
Toshi MARUYAMA
remove trailing tabs from app/views/projects/show.html.erb...
r7110
Jean-Philippe Lang
Ability to close projects (read-only) (#3640)....
r9700 <% unless @project.active? %>
<p class="warning"><span class="icon icon-lock"><%= l(:text_project_closed) %></span></p>
<% end %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <div class="splitcontentleft">
Jean-Philippe Lang
Ability to close projects (read-only) (#3640)....
r9700 <% if @project.description.present? %>
Toshi MARUYAMA
replace tabs to spaces at app/views/projects/show.html.erb...
r7112 <div class="wiki">
<%= textilizable @project.description %>
</div>
Jean-Philippe Lang
Ability to close projects (read-only) (#3640)....
r9700 <% end %>
Jean-Philippe Lang
Move subprojects to their own div on project overview....
r15161 <% if @project.homepage.present? || @project.visible_custom_field_values.any?(&:present?) %>
Toshi MARUYAMA
replace tabs to spaces at app/views/projects/show.html.erb...
r7112 <ul>
Toshi MARUYAMA
Rails3: view: html_safe for auto_link of project homepage...
r8836 <% unless @project.homepage.blank? %>
Jean-Philippe Lang
Limits the schemes that project homepage can use (#22925)....
r15050 <li><span class="label"><%=l(:field_homepage)%>:</span> <%= link_to_if uri_with_safe_scheme?(@project.homepage), @project.homepage, @project.homepage %></li>
Toshi MARUYAMA
Rails3: view: html_safe for auto_link of project homepage...
r8836 <% end %>
Jean-Philippe Lang
Fixed: Custom field is rendered, even if its value is empty (for multiple) (#18654)....
r13482 <% render_custom_field_values(@project) do |custom_field, formatted| %>
<li><span class="label"><%= custom_field.name %>:</span> <%= formatted %></li>
Jean-Philippe Lang
Merged nested projects branch. Removes limit on subproject nesting (#594)....
r2302 <% end %>
Toshi MARUYAMA
replace tabs to spaces at app/views/projects/show.html.erb...
r7112 </ul>
Jean-Philippe Lang
Hide empty ul on project overview (#21159)....
r14415 <% end %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330
Jean-Philippe Lang
Added project module concept....
r714 <% if User.current.allowed_to?(:view_issues, @project) %>
Toshi MARUYAMA
remove trailing white-spaces from app/views/projects/show.rhtml....
r6221 <div class="issues box">
Jean-Philippe Lang
Use the regular "icon icon-*" on project overview (#24313)....
r15591 <h3 class="icon icon-issue"><%=l(:label_issue_tracking)%></h3>
Jean-Philippe Lang
Don't display table headers if there's no trackers (#20413)....
r14416 <% if @trackers.present? %>
Jean-Philippe Lang
Use a table instead of an unordered list in "Issue tracking" box (#20413)....
r14258 <table class="list issue-report">
<thead>
<tr>
<th></th>
<th><%=l(:label_open_issues_plural)%></th>
<th><%=l(:label_closed_issues_plural)%></th>
<th><%=l(:label_total)%></th>
</tr>
</thead>
<tbody>
<% @trackers.each do |tracker| %>
Jean-Philippe Lang
Use css pseudo-classes instead of cycle("odd", "even") (#15361)....
r15867 <tr>
Jean-Philippe Lang
Use a table instead of an unordered list in "Issue tracking" box (#20413)....
r14258 <td class="name">
Jean-Philippe Lang
Adds link to open issues on tracker name (#20413)....
r14355 <%= link_to tracker.name, project_issues_path(@project, :set_filter => 1, :tracker_id => tracker.id) %>
Jean-Philippe Lang
Use a table instead of an unordered list in "Issue tracking" box (#20413)....
r14258 </td>
<td>
<%= link_to @open_issues_by_tracker[tracker].to_i, project_issues_path(@project, :set_filter => 1, :tracker_id => tracker.id) %>
</td>
<td>
<%= link_to (@total_issues_by_tracker[tracker].to_i - @open_issues_by_tracker[tracker].to_i), project_issues_path(@project, :set_filter => 1, :tracker_id => tracker.id, :status_id => 'c') %>
</td>
<td>
<%= link_to @total_issues_by_tracker[tracker].to_i, project_issues_path(@project, :set_filter => 1, :tracker_id => tracker.id, :status_id => '*') %>
</td>
</tr>
<% end %>
</tbody>
</table>
Jean-Philippe Lang
Don't display table headers if there's no trackers (#20413)....
r14416 <% end %>
Jean-Philippe Lang
Issue sidebar cleanup....
r3075 <p>
Jean-Philippe Lang
Code cleanup, use named routes....
r10844 <%= link_to l(:label_issue_view_all), project_issues_path(@project, :set_filter => 1) %>
Toshi MARUYAMA
replace tabs to spaces at app/views/projects/show.html.erb...
r7112 <% if User.current.allowed_to?(:view_calendar, @project, :global => true) %>
Jean-Philippe Lang
Code cleanup, use named routes....
r10844 | <%= link_to l(:label_calendar), project_calendar_path(@project) %>
Toshi MARUYAMA
replace tabs to spaces at app/views/projects/show.html.erb...
r7112 <% end %>
<% if User.current.allowed_to?(:view_gantt, @project, :global => true) %>
Jean-Philippe Lang
Code cleanup, use named routes....
r10844 | <%= link_to l(:label_gantt), project_gantt_path(@project) %>
Toshi MARUYAMA
replace tabs to spaces at app/views/projects/show.html.erb...
r7112 <% end %>
</p>
Jean-Philippe Lang
Initial commit...
r2 </div>
Jean-Philippe Lang
Added project module concept....
r714 <% end %>
Jean-Philippe Lang
Use the regular "icon icon-*" on project overview (#24313)....
r15591
Jean-Philippe Lang
Move spent time to a box like issues on the project overview....
r15210 <% if User.current.allowed_to?(:view_time_entries, @project) %>
<div class="spent_time box">
Jean-Philippe Lang
Use the regular "icon icon-*" on project overview (#24313)....
r15591 <h3 class="icon icon-time"><%= l(:label_spent_time) %></h3>
Jean-Philippe Lang
Move spent time to a box like issues on the project overview....
r15210 <% if @total_hours.present? %>
<p><%= l_hours(@total_hours) %></p>
<% end %>
<p>
<% if User.current.allowed_to?(:log_time, @project) %>
<%= link_to l(:button_log_time), new_project_time_entry_path(@project) %> |
<% end %>
<%= link_to(l(:label_details), project_time_entries_path(@project)) %> |
<%= link_to(l(:label_report), report_project_time_entries_path(@project)) %>
</p>
</div>
<% end %>
Eric Davis
Added two new plugin hooks to the Project Overview page...
r2594 <%= call_hook(:view_projects_show_left, :project => @project) %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 </div>
<div class="splitcontentright">
Eric Davis
Refactor: extract Members Box to partial....
r3895 <%= render :partial => 'members_box' %>
Toshi MARUYAMA
remove trailing white-spaces from app/views/projects/show.rhtml....
r6221
Jean-Philippe Lang
Moved ProjectsController#list_news to NewsController#index....
r875 <% if @news.any? && authorize_for('news', 'index') %>
Jean-Philippe Lang
Removes large icons....
r3065 <div class="news box">
Jean-Philippe Lang
Use the regular "icon icon-*" on project overview (#24313)....
r15591 <h3 class="icon icon-news"><%=l(:label_news_latest)%></h3>
Jean-Philippe Lang
various modifications to prevent xss...
r96 <%= render :partial => 'news/news', :collection => @news %>
Jean-Philippe Lang
Code cleanup, use named routes....
r10844 <p><%= link_to l(:label_news_view_all), project_news_index_path(@project) %></p>
Toshi MARUYAMA
remove trailing white-spaces from app/views/projects/show.rhtml....
r6221 </div>
Jean-Philippe Lang
News box on project/show is hidden if there is no news to display....
r448 <% end %>
Jean-Philippe Lang
Move subprojects to their own div on project overview....
r15161
<% if @subprojects.any? %>
<div class="projects box">
Jean-Philippe Lang
Use the regular "icon icon-*" on project overview (#24313)....
r15591 <h3 class="icon icon-projects"><%=l(:label_subproject_plural)%></h3>
Jean-Philippe Lang
Adds CSS class for closed subprojects on project overview (#23152)....
r15203 <%= @subprojects.collect{|p| link_to p, project_path(p), :class => p.css_classes}.join(", ").html_safe %>
Jean-Philippe Lang
Move subprojects to their own div on project overview....
r15161 </div>
<% end %>
Eric Davis
Added two new plugin hooks to the Project Overview page...
r2594 <%= call_hook(:view_projects_show_right, :project => @project) %>
Jean-Philippe Lang
Added feeds auto discovery links on projects/show (patch by Nicolas Chuche)....
r641 </div>
Jean-Philippe Lang
Application layout refactored....
r736 <% content_for :sidebar do %>
Jean-Philippe Lang
Move spent time to a box like issues on the project overview....
r15210 <%= call_hook(:view_projects_show_sidebar_bottom, :project => @project) %>
Jean-Philippe Lang
Application layout refactored....
r736 <% end %>
Jean-Philippe Lang
Added feeds auto discovery links on projects/show (patch by Nicolas Chuche)....
r641 <% content_for :header_tags do %>
Eric Davis
Refactor: extract ProjectsController#activity to a new Activities controller....
r3933 <%= auto_discovery_link_tag(:atom, {:controller => 'activities', :action => 'index', :id => @project, :format => 'atom', :key => User.current.rss_key}) %>
Jean-Philippe Lang
Added feeds auto discovery links on projects/show (patch by Nicolas Chuche)....
r641 <% end %>
Jean-Philippe Lang
More detailed html title on several views....
r951
Jean-Philippe Lang
Slight improvements to the browser views....
r1019 <% html_title(l(:label_overview)) -%>