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
1 1
<% note_id = 1 %>
2 2
<% for journal in journals %>
3
  <div class="journal">
3 4
	<h4><div style="float:right;"><%= link_to "##{note_id}", :anchor => "note-#{note_id}" %></div>
4 5
	<%= content_tag('a', '', :name => "note-#{note_id}")%>
5 6
	<%= format_time(journal.created_on) %> - <%= journal.user.name %></h4>
......
10 11
	</ul>
11 12
  	<%= textilizable(journal.notes) unless journal.notes.blank? %>
12 13
  	<% note_id += 1 %>
14
  </div>
13 15
<% end %>
/var/www/html/redmine/app/views/messages/show.rhtml 2008-03-31 16:05:55.000000000 -0400
6 6
<h2><%= link_to h(@board.name), :controller => 'boards', :action => 'show', :project_id => @project, :id => @board %> &#187; <%=h @topic.subject %></h2>
7 7

  
8 8
<div class="message">
9
<p><span class="author"><%= authoring @topic.created_on, @topic.author %></span></p>
9
<h4 class="author"><%= authoring @topic.created_on, @topic.author %></h4>
10 10
<div class="wiki">
11 11
<%= textilizable(@topic.content, :attachments => @topic.attachments) %>
12 12
</div>
......
16 16

  
17 17
<h3 class="icon22 icon22-comment"><%= l(:label_reply_plural) %></h3>
18 18
<% @topic.children.each do |message| %>
19
<div class="message">
19 20
  <a name="<%= "message-#{message.id}" %>"></a>
20 21
  <div class="contextual">
21 22
    <%= link_to_if_authorized l(:button_edit), {:action => 'edit', :id => message}, :class => 'icon icon-edit' %>
22 23
    <%= link_to_if_authorized l(:button_delete), {:action => 'destroy', :id => message}, :method => :post, :confirm => l(:text_are_you_sure), :class => 'icon icon-del' %>
23 24
  </div>
24
  <div class="message reply">
25
  <div class="message-reply">
25 26
  <h4><%=h message.subject %> - <%= authoring message.created_on, message.author %></h4>
26 27
  <div class="wiki"><%= textilizable message.content %></div>
27 28
  <%= link_to_attachments message.attachments, :no_author => true %>
28 29
  </div>
30
</div>
29 31
<% end %>
30 32

  
31 33
<% if !@topic.locked? && authorize_for('messages', 'reply') %>
    (1-1/1)