--- /dev/null
+<ul>
+<% changesets.each do |changeset| %>
+ <li class="<%= cycle('odd', 'even') %>"><%= link_to("#{l(:label_revision)} #{changeset.revision}",
+ :controller => 'repositories', :action => 'revision', :id => @project, :rev => changeset.revision) %><br />
+ <em><%= changeset.committer %>, <%= format_time(changeset.committed_on) %></em>
+ <%= textilizable(changeset, :comments) %></li>
+<% end %>
+</ul>
pdf.Line(pdf.GetX, pdf.GetY, 170, pdf.GetY)\r
\r
pdf.Ln\r
-\r
- pdf.SetFontStyle('B',9)\r
+ \r
+ if @issue.changesets.any? && User.current.allowed_to?(:view_changesets, issue.project)\r
+ pdf.SetFontStyle('B',9)\r
+ pdf.Cell(190,5, l(:label_associated_revisions), "B")\r
+ pdf.Ln \r
+ for changeset in @issue.changesets\r
+ pdf.SetFontStyle('B',8)\r
+ pdf.Cell(190,5, format_time(changeset.committed_on) + " - " + changeset.committer)\r
+ pdf.Ln\r
+ unless changeset.comments.blank?\r
+ pdf.SetFontStyle('',8)\r
+ pdf.MultiCell(190,5, changeset.comments)\r
+ end \r
+ pdf.Ln\r
+ end\r
+ end\r
+ \r
+ pdf.SetFontStyle('B',9)\r
pdf.Cell(190,5, l(:label_history), "B")\r
pdf.Ln \r
for journal in issue.journals.find(:all, :include => [:user, :details], :order => "#{Journal.table_name}.created_on ASC")\r
</table>
<hr />
-<% 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 %>
-
<p><strong><%=l(:field_description)%></strong></p>
<div class="wiki">
<%= textilizable @issue, :description, :attachments => @issue.attachments %>
</div>
+<% 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 %>
+
<% if @journals.any? %>
<div id="history">
<h3><%=l(:label_history)%></h3>
label_change_properties: Change properties
label_general: General
label_repository_plural: Repositories
+label_associated_revisions: Associated revisions
label_change_properties: Change properties
label_general: General
label_repository_plural: Repositories
+label_associated_revisions: Associated revisions
label_change_properties: Change properties
label_general: General
label_repository_plural: Repositories
+label_associated_revisions: Associated revisions
label_modification_plural: %d changes
label_revision: Revision
label_revision_plural: Revisions
+label_associated_revisions: Associated revisions
label_added: added
label_modified: modified
label_deleted: deleted
label_change_properties: Change properties
label_general: General
label_repository_plural: Repositories
+label_associated_revisions: Associated revisions
enumeration_issue_priorities: Tapahtuman prioriteetit
enumeration_doc_categories: Dokumentin luokat
enumeration_activities: Aktiviteetit (ajan seuranta)
+label_associated_revisions: Associated revisions
label_modification_plural: %d modifications
label_revision: Révision
label_revision_plural: Révisions
+label_associated_revisions: Révisions associées
label_added: ajouté
label_modified: modifié
label_deleted: supprimé
label_change_properties: Change properties
label_general: General
label_repository_plural: Repositories
+label_associated_revisions: Associated revisions
label_change_properties: Change properties
label_general: General
label_repository_plural: Repositories
+label_associated_revisions: Associated revisions
label_change_properties: Change properties
label_general: General
label_repository_plural: Repositories
+label_associated_revisions: Associated revisions
label_change_properties: 속성 변경
label_general: 일반
label_repository_plural: 저장소들
+label_associated_revisions: Associated revisions
text_no_configuration_data: "Roles, trackers, issue statuses and workflow have not been configured yet.\nIt is highly recommended to load the default configuration. You will be able to modify it once loaded."
label_repository_plural: Repositories
error_can_t_load_default_data: "Default configuration could not be loaded: %s"
+label_associated_revisions: Associated revisions
label_change_properties: Change properties
label_general: General
label_repository_plural: Repositories
+label_associated_revisions: Associated revisions
label_change_properties: Zmień właściwości
label_general: Ogólne
label_repository_plural: Repozytoria
+label_associated_revisions: Associated revisions
label_change_properties: Change properties\r
label_general: General\r
label_repository_plural: Repositories\r
+label_associated_revisions: Associated revisions\r
label_change_properties: Change properties
label_general: General
label_repository_plural: Repositories
+label_associated_revisions: Associated revisions
label_change_properties: Change properties
label_general: General
label_repository_plural: Repositories
+label_associated_revisions: Associated revisions
label_change_properties: Изменить свойства
label_general: Общее
label_repository_plural: Репозитории
+label_associated_revisions: Associated revisions
label_change_properties: Change properties
label_general: General
label_repository_plural: Repositories
+label_associated_revisions: Associated revisions
label_change_properties: Change properties
label_general: General
label_repository_plural: Repositories
+label_associated_revisions: Associated revisions
enumeration_issue_priorities: 項目重要性
enumeration_doc_categories: 文件分類
enumeration_activities: 活動 (time tracking)
+label_associated_revisions: Associated revisions
label_change_properties: Change properties
label_general: General
label_repository_plural: Repositories
+label_associated_revisions: Associated revisions
textarea.wiki-edit { width: 99%; }
li p {margin-top: 0;}
div.issue {background:#ffffdd; padding:6px; margin-bottom:6px;border: 1px solid #d7d7d7;}
+
+div#issue-changesets {float:right; width:45%; margin-left: 1em; margin-bottom: 1em; background: #fff; padding-left: 1em;}
+div#issue-changesets ul {list-style-position: outside; list-style-type:none; margin: 0; padding: 0;}
+div#issue-changesets li { padding: 4px; }
+
.autoscroll {overflow-x: auto; padding:1px; width:100%; margin-bottom: 1.2em;}
#user_firstname, #user_lastname, #user_mail, #my_account_form select { width: 90%; }