Changesets can be listed by changeset number.
The Git repository is here.
Changeset 456
Reduce code duplicat - "htmlize" was always wrapped by a call
to "make_links", so just include that call inside "htmlize".
- Comitted by: rool
- Date: Friday September 06 07:23:16 2013 (over 11 years ago)
Affected files:
- rool/rails/collaboa/trunk/app/helpers/application_helper.rb (diff)
- rool/rails/collaboa/trunk/app/views/tickets/comment.rhtml (diff)
- rool/rails/collaboa/trunk/app/views/tickets/show.rhtml (diff)
rool/rails/collaboa/trunk/app/helpers/application_helper.rb:
prev. | current | |
text.gsub!(">", ">") | ||
text = auto_link( text ) { |visible| truncate(visible, 50) } | ||
text = RedCloth.new(text).to_html | ||
28 | make_links(text) | |
return text | ||
end | ||
rool/rails/collaboa/trunk/app/views/tickets/comment.rhtml:
prev. | current | |
</table> | ||
<h3>Details by <%= format_author @ticket.author -%>:</h3> | ||
42 | | |
42 | <%= htmlize(@ticket.content) %> | |
</div> | ||
<% first = true %> | ||
... | ... | |
</ul> | ||
<% unless change.comment.nil? -%> | ||
63 | | |
63 | <div id="ticket-change-comment"><%= htmlize(change.comment) %></div> | |
<% end -%> | ||
<% end -%> | ||
<% unless first -%> |
rool/rails/collaboa/trunk/app/views/tickets/show.rhtml:
prev. | current | |
</table> | ||
<h3>Details by <%= format_author @ticket.author -%>:</h3> | ||
42 | | |
42 | <%= htmlize(@ticket.content) %> | |
</div> | ||
<% first = true %> | ||
... | ... | |
</ul> | ||
<% unless change.comment.nil? -%> | ||
63 | | |
63 | <div id="ticket-change-comment"><%= htmlize(change.comment) %></div> | |
<% end -%> | ||
</div> | ||
<% end -%> |