Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
put data into issue page, and add some bare style
- Loading branch information
hlb
committed
Jan 18, 2010
1 parent
59edd77
commit d024431
Showing
6 changed files
with
97 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<% for journal in journals %> | ||
<div id="change-<%= journal.id %>" class="journal"> | ||
<h4><%= authoring journal.created_on, journal.user, :label => :label_updated_time_by %></h4> | ||
<ul> | ||
<% for detail in journal.details %> | ||
<li><%= show_detail(detail) %></li> | ||
<% end %> | ||
</ul> | ||
<%= render_notes(journal) unless journal.notes.blank? %> | ||
</div> | ||
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<p><strong><%=l(:label_related_issues)%></strong></p> | ||
|
||
<% if @issue.relations.any? %> | ||
<% @issue.relations.select {|r| r.other_issue(@issue).visible? }.each do |relation| %> | ||
<p> | ||
<%= l(relation.label_for(@issue)) %> <%= "(#{l('datetime.distance_in_words.x_days', :count => relation.delay)})" if relation.delay && relation.delay != 0 %> | ||
<%= h(relation.other_issue(@issue).project) + ' - ' if Setting.cross_project_issue_relations? %> | ||
<%= link_to_issue relation.other_issue(@issue) %> | ||
</p> | ||
<% end %> | ||
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters