##// END OF EJS Templates
Added wiki annotate view. It's accessible for each version from the page history view. ...
Added wiki annotate view. It's accessible for each version from the page history view. Slight style change: pre-wrap added on file/diff contents. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1020 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r1003:bf3b2ec973a9
r1007:31c6ebb31046
Show More
show.rhtml
123 lines | 5.5 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <div class="contextual">
Jean-Philippe Lang
Application layout refactored....
r736 <%= show_and_goto_link(l(:label_add_note), 'add-note', :class => 'icon icon-note') if authorize_for('issues', 'add_note') %>
Jean-Philippe Lang
Added some accesskeys:...
r793 <%= link_to_if_authorized l(:button_edit), {:controller => 'issues', :action => 'edit', :id => @issue}, :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
Added the hability to copy an issue....
r860 <%= link_to_if_authorized l(:button_copy), {:controller => 'projects', :action => 'add_issue', :id => @project, :copy_from => @issue }, :class => 'icon icon-copy' %>
Jean-Philippe Lang
Buttons (edit, watch...) on issues/show are now located in the upper-right corner....
r686 <%= link_to_if_authorized l(:button_move), {:controller => 'projects', :action => 'move_issues', :id => @project, "issue_ids[]" => @issue.id }, :class => 'icon icon-move' %>
<%= 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}" %>">
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
Added 'Estimated hours' attribute on issues....
r720 <%= l(:label_updated_time, distance_of_time_in_words(Time.now, @issue.updated_on)) if @issue.created_on != @issue.updated_on %>.
</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>
<td style="width:15%"><b><%=l(:field_status)%> :</b></td><td style="width:35%"><%= @issue.status.name %></td>
Jean-Philippe Lang
Added 'Estimated hours' attribute on issues....
r720 <td style="width:15%"><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>
Jean-Philippe Lang
Added 'Estimated hours' attribute on issues....
r720 <td><b><%=l(:field_priority)%> :</b></td><td><%= @issue.priority.name %></td>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <td><b><%=l(:field_due_date)%> :</b></td><td><%= format_date(@issue.due_date) %></td>
</tr>
<tr>
Jean-Philippe Lang
Added 'Estimated hours' attribute on issues....
r720 <td><b><%=l(:field_assigned_to)%> :</b></td><td><%= @issue.assigned_to ? link_to_user(@issue.assigned_to) : "-" %></td>
Jean-Philippe Lang
Roadmap: more accurate completion percentage calculation (done ratio of open issues is now taken into account)....
r895 <td><b><%=l(:field_done_ratio)%> :</b></td><td><%= 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>
Jean-Philippe Lang
Added 'Estimated hours' attribute on issues....
r720 <td><b><%=l(:field_category)%> :</b></td><td><%=h @issue.category ? @issue.category.name : "-" %></td>
<% if User.current.allowed_to?(:view_time_entries, @project) %>
Jean-Philippe Lang
Simple time tracking functionality added. Time can be logged at issue or project level....
r365 <td><b><%=l(:label_spent_time)%> :</b></td>
<td><%= @issue.spent_hours > 0 ? (link_to lwr(:label_f_hour, @issue.spent_hours), {:controller => 'timelog', :action => 'details', :issue_id => @issue}, :class => 'icon icon-time') : "-" %></td>
Jean-Philippe Lang
Added 'Estimated hours' attribute on issues....
r720 <% end %>
</tr>
<tr>
<td><b><%=l(:field_fixed_version)%> :</b></td><td><%= @issue.fixed_version ? link_to_version(@issue.fixed_version) : "-" %></td>
<% if @issue.estimated_hours %>
<td><b><%=l(:field_estimated_hours)%> :</b></td><td><%= lwr(:label_f_hour, @issue.estimated_hours) %></td>
<% end %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 </tr>
<tr>
<% n = 0
for custom_value in @custom_values %>
Jean-Philippe Lang
Fixed custom fields alignment on issues/show (Balazs Dan)...
r609 <td valign="top"><b><%= custom_value.custom_field.name %> :</b></td><td valign="top"><%= simple_format(h(show_value(custom_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>
</table>
<hr />
Jean-Philippe Lang
Commit messages are now scanned for referenced or fixed issue IDs....
r470
<% if @issue.changesets.any? %>
<div style="float:right;">
<em><%= l(:label_revision_plural) %>: <%= @issue.changesets.collect{|changeset| link_to(changeset.revision, :controller => 'repositories', :action => 'revision', :id => @project, :rev => changeset.revision)}.join(", ") %></em>
</div>
<% end %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330
Jean-Philippe Lang
Slight change to issues/show....
r751 <p><strong><%=l(:field_description)%></strong></p>
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
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
Merged 0.6 branch into trunk....
r663 </div>
Jean-Philippe Lang
Application layout refactored....
r736
<% if authorize_for('issues', 'change_status') and @status_options and !@status_options.empty? %>
<% form_tag({:controller => 'issues', :action => 'change_status', :id => @issue}) do %>
<p><%=l(:label_change_status)%> :
<select name="new_status_id">
Jean-Philippe Lang
Change status select box default to current status (Rocco Stanzione)....
r1003 <%= options_from_collection_for_select @status_options, "id", "name", @issue.status_id %>
Jean-Philippe Lang
Application layout refactored....
r736 </select>
<%= submit_tag l(:button_change) %></p>
<% end %>
Jean-Philippe Lang
Merged 0.6 branch into trunk....
r663 <% 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
added svn:eol-style native property on /app files...
r330
<% if authorize_for('issues', 'add_note') %>
Jean-Philippe Lang
Application layout refactored....
r736 <a name="add-note-anchor"></a>
<div id="add-note" class="box" style="display:none;">
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <h3><%= l(:label_add_note) %></h3>
Jean-Philippe Lang
Merged 0.6 branch into trunk....
r663 <% form_tag({:controller => 'issues', :action => 'add_note', :id => @issue}, :class => "tabular", :multipart => true) do %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <p><label for="notes"><%=l(:field_notes)%></label>
<%= text_area_tag 'notes', '', :cols => 60, :rows => 10, :class => 'wiki-edit' %></p>
Jean-Philippe Lang
Fixed: Long text custom fields displayed without line breaks...
r573 <%= wikitoolbar_for 'notes' %>
Jean-Philippe Lang
Merged 0.6 branch into trunk....
r663 <%= render :partial => 'attachments/form' %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <%= submit_tag l(:button_add) %>
Jean-Philippe Lang
Application layout refactored....
r736 <%= toggle_link l(:button_cancel), 'add-note' %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <% end %>
</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
<div class="contextual">
Jean-Philippe Lang
Merged IssuesController#export_pdf into IssuesController#show....
r799 <%= l(:label_export_to) %><%= link_to 'PDF', {:format => 'pdf'}, :class => 'icon icon-pdf' %>
Jean-Philippe Lang
Buttons (edit, watch...) on issues/show are now located in the upper-right corner....
r686 </div>
&nbsp;
Jean-Philippe Lang
Removed @html_title assignments in controllers....
r704
Jean-Philippe Lang
Application layout refactored....
r736 <% set_html_title "#{@issue.tracker.name} ##{@issue.id}: #{@issue.subject}" %>
<% content_for :sidebar do %>
<%= render :partial => 'issues/sidebar' %>
<% end %>