Project

General

Profile

Feature #1037 ยป redmine-ui.patch

patch containing a few fixes for making more consistent div/headings - Carl Nygard, 2008-04-10 20:10

View differences:

/var/www/html/redmine/app/views/issues/_history.rhtml 2008-04-10 00:39:43.000000000 -0400
<% note_id = 1 %>
<% for journal in journals %>
<div class="journal">
<h4><div style="float:right;"><%= link_to "##{note_id}", :anchor => "note-#{note_id}" %></div>
<%= content_tag('a', '', :name => "note-#{note_id}")%>
<%= format_time(journal.created_on) %> - <%= journal.user.name %></h4>
......
</ul>
<%= textilizable(journal.notes) unless journal.notes.blank? %>
<% note_id += 1 %>
</div>
<% end %>
/var/www/html/redmine/app/views/messages/show.rhtml 2008-03-31 16:05:55.000000000 -0400
<h2><%= link_to h(@board.name), :controller => 'boards', :action => 'show', :project_id => @project, :id => @board %> &#187; <%=h @topic.subject %></h2>
<div class="message">
<p><span class="author"><%= authoring @topic.created_on, @topic.author %></span></p>
<h4 class="author"><%= authoring @topic.created_on, @topic.author %></h4>
<div class="wiki">
<%= textilizable(@topic.content, :attachments => @topic.attachments) %>
</div>
......
<h3 class="icon22 icon22-comment"><%= l(:label_reply_plural) %></h3>
<% @topic.children.each do |message| %>
<div class="message">
<a name="<%= "message-#{message.id}" %>"></a>
<div class="contextual">
<%= link_to_if_authorized l(:button_edit), {:action => 'edit', :id => message}, :class => 'icon icon-edit' %>
<%= link_to_if_authorized l(:button_delete), {:action => 'destroy', :id => message}, :method => :post, :confirm => l(:text_are_you_sure), :class => 'icon icon-del' %>
</div>
<div class="message reply">
<div class="message-reply">
<h4><%=h message.subject %> - <%= authoring message.created_on, message.author %></h4>
<div class="wiki"><%= textilizable message.content %></div>
<%= link_to_attachments message.attachments, :no_author => true %>
</div>
</div>
<% end %>
<% if !@topic.locked? && authorize_for('messages', 'reply') %>
    (1-1/1)