##// END OF EJS Templates
Gravatar support for issue detai, user grid, and activity stream...
Gravatar support for issue detai, user grid, and activity stream git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1962 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r1960:ed314caf7d6e
r1960:ed314caf7d6e
Show More
show.rhtml
128 lines | 5.9 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <div class="contextual">
Jean-Philippe Lang
Makes issue update link work without javascript (#1337)....
r1591 <%= link_to_if_authorized(l(:button_update), {:controller => 'issues', :action => 'edit', :id => @issue }, :onclick => 'showAndScrollTo("update", "notes"); return false;', :class => 'icon icon-edit', :accesskey => accesskey(:edit)) %>
Jean-Philippe Lang
Buttons (edit, watch...) on issues/show are now located in the upper-right corner....
r686 <%= link_to_if_authorized l(:button_log_time), {:controller => 'timelog', :action => 'edit', :issue_id => @issue}, :class => 'icon icon-time' %>
<%= watcher_tag(@issue, User.current) %>
Jean-Philippe Lang
ProjectsController#add_issue moved to IssuesController#new....
r1066 <%= link_to_if_authorized l(:button_copy), {:controller => 'issues', :action => 'new', :project_id => @project, :copy_from => @issue }, :class => 'icon icon-copy' %>
Jean-Philippe Lang
Issue list now supports bulk edit/move/delete (#563, #607). For now, issues from different projects can not be bulk edited/moved/deleted at once....
r1116 <%= link_to_if_authorized l(:button_move), {:controller => 'issues', :action => 'move', :id => @issue }, :class => 'icon icon-move' %>
Jean-Philippe Lang
Buttons (edit, watch...) on issues/show are now located in the upper-right corner....
r686 <%= link_to_if_authorized l(:button_delete), {:controller => 'issues', :action => 'destroy', :id => @issue}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 </div>
Jean-Philippe Lang
Initial commit...
r2
Jean-Philippe Lang
Application layout refactored....
r736 <h2><%= @issue.tracker.name %> #<%= @issue.id %></h2>
Jean-Philippe Lang
Added an alternate theme which provides issue list colorization based on issues priority....
r899 <div class="issue <%= "status-#{@issue.status.position} priority-#{@issue.priority.position}" %>">
Eric Davis
Gravatar support for issue detai, user grid, and activity stream...
r1960 <%= gravatar(@issue.author.mail, :size => "64") %>
Jean-Philippe Lang
Application layout refactored....
r736 <h3><%=h @issue.subject %></h3>
Jean-Philippe Lang
Added 'Estimated hours' attribute on issues....
r720 <p class="author">
Jean-Philippe Lang
Changed author display on issues, news and document files....
r721 <%= authoring @issue.created_on, @issue.author %>.
Jean-Philippe Lang
Fixed: Double dot displayed on ticket view when ticket not updated (closes #813)....
r1329 <%= l(:label_updated_time, distance_of_time_in_words(Time.now, @issue.updated_on)) + '.' if @issue.created_on != @issue.updated_on %>
Jean-Philippe Lang
Added 'Estimated hours' attribute on issues....
r720 </p>
Jean-Philippe Lang
Application layout refactored....
r736
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <table width="100%">
<tr>
Eric Davis
Gravatar support for issue detai, user grid, and activity stream...
r1960 <td style="width:15%" class="status"><b><%=l(:field_status)%>:</b></td><td style="width:35%" class="status status-<%= @issue.status.name %>"><%= @issue.status.name %></td>
<td style="width:15%" class="start-date"><b><%=l(:field_start_date)%>:</b></td><td style="width:35%"><%= format_date(@issue.start_date) %></td>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 </tr>
<tr>
Eric Davis
Gravatar support for issue detai, user grid, and activity stream...
r1960 <td class="priority"><b><%=l(:field_priority)%>:</b></td><td class="priority priority-<%= @issue.priority.name %>"><%= @issue.priority.name %></td>
<td class="due-date"><b><%=l(:field_due_date)%>:</b></td><td class="due-date"><%= format_date(@issue.due_date) %></td>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 </tr>
<tr>
Eric Davis
Gravatar support for issue detai, user grid, and activity stream...
r1960 <td class="assigned-to"><b><%=l(:field_assigned_to)%>:</b></td><td><%= gravatar(@issue.assigned_to.mail, :size => "24") %><%= @issue.assigned_to ? link_to_user(@issue.assigned_to) : "-" %></td>
<td class="progress"><b><%=l(:field_done_ratio)%>:</b></td><td class="progress"><%= progress_bar @issue.done_ratio, :width => '80px', :legend => "#{@issue.done_ratio}%" %></td>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 </tr>
<tr>
Eric Davis
Gravatar support for issue detai, user grid, and activity stream...
r1960 <td class="category"><b><%=l(:field_category)%>:</b></td><td><%=h @issue.category ? @issue.category.name : "-" %></td>
Jean-Philippe Lang
Added 'Estimated hours' attribute on issues....
r720 <% if User.current.allowed_to?(:view_time_entries, @project) %>
Eric Davis
Gravatar support for issue detai, user grid, and activity stream...
r1960 <td class="spent-time"><b><%=l(:label_spent_time)%>:</b></td>
<td class="spent-hours"><%= @issue.spent_hours > 0 ? (link_to lwr(:label_f_hour, @issue.spent_hours), {:controller => 'timelog', :action => 'details', :project_id => @project, :issue_id => @issue}, :class => 'icon icon-time') : "-" %></td>
Jean-Philippe Lang
Added 'Estimated hours' attribute on issues....
r720 <% end %>
</tr>
<tr>
Eric Davis
Gravatar support for issue detai, user grid, and activity stream...
r1960 <td class="fixed-version"><b><%=l(:field_fixed_version)%>:</b></td><td><%= @issue.fixed_version ? link_to_version(@issue.fixed_version) : "-" %></td>
Jean-Philippe Lang
Added 'Estimated hours' attribute on issues....
r720 <% if @issue.estimated_hours %>
Eric Davis
Gravatar support for issue detai, user grid, and activity stream...
r1960 <td class="estimated-hours"><b><%=l(:field_estimated_hours)%>:</b></td><td><%= lwr(:label_f_hour, @issue.estimated_hours) %></td>
Jean-Philippe Lang
Added 'Estimated hours' attribute on issues....
r720 <% end %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 </tr>
<tr>
Jean-Philippe Lang
Custom fields refactoring: most of code moved from controllers to models (using new module ActsAsCustomizable)....
r1578 <% n = 0 -%>
<% @issue.custom_values.each do |value| -%>
<td valign="top"><b><%=h value.custom_field.name %>:</b></td><td valign="top"><%= simple_format(h(show_value(value))) %></td>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <% n = n + 1
if (n > 1)
n = 0 %>
</tr><tr>
<%end
end %>
</tr>
Jean-Philippe Lang
Merged hooks branch @ r1785 into trunk....
r1785 <%= call_hook(:view_issues_show_details_bottom, :issue => @issue) %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 </table>
<hr />
Jean-Philippe Lang
Commit messages are now scanned for referenced or fixed issue IDs....
r470
Jean-Philippe Lang
Adds a Reply link to each issue note (#739). Reply is pre-filled with the quoted note....
r1466 <div class="contextual">
Jean-Philippe Lang
Sligth changes to issue comments quoting links....
r1772 <%= link_to_remote_if_authorized l(:button_quote), { :url => {:action => 'reply', :id => @issue} }, :class => 'icon icon-comment' %>
Jean-Philippe Lang
Adds a Reply link to each issue note (#739). Reply is pre-filled with the quoted note....
r1466 </div>
Jean-Philippe Lang
Slight change to issues/show....
r751 <p><strong><%=l(:field_description)%></strong></p>
Jean-Philippe Lang
Fixed: table of content not rendered properly when used in an issue or document description....
r1022 <div class="wiki">
Jean-Philippe Lang
Added wiki macros support. 2 builtin macros are defined: hello_world (sample macro that displays the arguments) and macro_list (display the list of installed macros)....
r884 <%= textilizable @issue, :description, :attachments => @issue.attachments %>
Jean-Philippe Lang
Fixed: table of content not rendered properly when used in an issue or document description....
r1022 </div>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330
Jean-Philippe Lang
Slight change to issues/show....
r751 <% if @issue.attachments.any? %>
<%= link_to_attachments @issue.attachments, :delete_url => (authorize_for('issues', 'destroy_attachment') ? {:controller => 'issues', :action => 'destroy_attachment', :id => @issue} : nil) %>
<% end %>
Jean-Philippe Lang
Issue relations first commit (not thoroughly tested). 4 kinds of relation are available:...
r503 <% if authorize_for('issue_relations', 'new') || @issue.relations.any? %>
Jean-Philippe Lang
Application layout refactored....
r736 <hr />
<div id="relations">
Jean-Philippe Lang
Issue relations first commit (not thoroughly tested). 4 kinds of relation are available:...
r503 <%= render :partial => 'relations' %>
</div>
<% end %>
Jean-Philippe Lang
Adds permissions for viewing the watcher list and adding new watchers on the issue detail view (#398)....
r1711 <% if User.current.allowed_to?(:add_issue_watchers, @project) ||
(@issue.watchers.any? && User.current.allowed_to?(:view_issue_watchers, @project)) %>
<hr />
<div id="watchers">
<%= render :partial => 'watchers/watchers', :locals => {:watched => @issue} %>
</div>
<% end %>
Jean-Philippe Lang
Merged 0.6 branch into trunk....
r663 </div>
Jean-Philippe Lang
Application layout refactored....
r736
Jean-Philippe Lang
Added related changesets messages on issue details view....
r1071 <% if @issue.changesets.any? && User.current.allowed_to?(:view_changesets, @project) %>
<div id="issue-changesets">
<h3><%=l(:label_associated_revisions)%></h3>
<%= render :partial => 'changesets', :locals => { :changesets => @issue.changesets} %>
</div>
<% end %>
Jean-Philippe Lang
Removed IssuesController#history, all changes are now displayed on issues/show (not only the last 15)....
r610 <% if @journals.any? %>
Jean-Philippe Lang
Application layout refactored....
r736 <div id="history">
Jean-Philippe Lang
Removed IssuesController#history, all changes are now displayed on issues/show (not only the last 15)....
r610 <h3><%=l(:label_history)%></h3>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <%= render :partial => 'history', :locals => { :journals => @journals } %>
</div>
Jean-Philippe Lang
History box on issues/show is now hidden if there's no history...
r593 <% end %>
Jean-Philippe Lang
Fixes #773: Changeset block is smashing the update frame on issues/show....
r1179 <div style="clear: both;"></div>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330
Jean-Philippe Lang
Merged IssuesController #edit and #update into a single actions....
r1115 <% if authorize_for('issues', 'edit') %>
Jean-Philippe Lang
Merged IssuesController change_status and add_note actions....
r1030 <div id="update" style="display:none;">
<h3><%= l(:button_update) %></h3>
Jean-Philippe Lang
Merged IssuesController #edit and #update into a single actions....
r1115 <%= render :partial => 'edit' %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 </div>
Jean-Philippe Lang
Initial commit...
r2 <% end %>
Jean-Philippe Lang
Buttons (edit, watch...) on issues/show are now located in the upper-right corner....
r686
Jean-Philippe Lang
Display links to Atom feeds (closes #496, #750)....
r1171 <p class="other-formats">
<%= l(:label_export_to) %>
<span><%= link_to 'Atom', {:format => 'atom', :key => User.current.rss_key}, :class => 'feed' %></span>
<span><%= link_to 'PDF', {:format => 'pdf'}, :class => 'pdf' %></span>
</p>
Jean-Philippe Lang
Removed @html_title assignments in controllers....
r704
Jean-Philippe Lang
Slight improvements to the browser views....
r1019 <% html_title "#{@issue.tracker.name} ##{@issue.id}: #{@issue.subject}" %>
Jean-Philippe Lang
Application layout refactored....
r736
<% content_for :sidebar do %>
<%= render :partial => 'issues/sidebar' %>
<% end %>
Jean-Philippe Lang
Display links to Atom feeds (closes #496, #750)....
r1171
<% content_for :header_tags do %>
<%= auto_discovery_link_tag(:atom, {:format => 'atom', :key => User.current.rss_key}, :title => "#{@issue.project} - #{@issue.tracker} ##{@issue.id}: #{@issue.subject}") %>
Jean-Philippe Lang
Enable syntax highlight on issues, messages and news (#1473, #1466)....
r1548 <%= stylesheet_link_tag 'scm' %>
Jean-Philippe Lang
Display links to Atom feeds (closes #496, #750)....
r1171 <% end %>