Merge pull request #1672 from netfighter/feature/14432-headlines-cover-edit-buttons

pull/1704/head
Hagen Schink 10 years ago
commit 39473de35d
  1. 7
      app/views/messages/show.html.erb
  2. 7
      app/views/news/show.html.erb
  3. 2
      app/views/versions/show.html.erb

@ -50,9 +50,10 @@ See doc/COPYRIGHT.rdoc for more details.
:class => 'icon icon-delete') if @message.destroyable_by?(User.current) %>
<% end %>
<h2><%= avatar(@topic.author, :size => "24") %><%=h @topic.subject %></h2>
<%= render :partial => 'layouts/action_menu_specific' %>
<div class="top-page">
<%= render :partial => 'layouts/action_menu_specific' %>
<h2 title="<%= h @topic.subject %>"><%= avatar(@topic.author, :size => "24") %><%=h @topic.subject %></h2>
</div>
<div class="message">
<p><span class="author"><%= authoring @topic.created_on, @topic.author %></span></p>

@ -41,9 +41,10 @@ See doc/COPYRIGHT.rdoc for more details.
:class => 'icon icon-delete') if User.current.allowed_to?(:manage_news, @project) %>
<% end %>
<h2><%= avatar(@news.author, :size => "24") %><%=h @news.title %></h2>
<%= render :partial => 'layouts/action_menu_specific' %>
<div class="top-page">
<%= render :partial => 'layouts/action_menu_specific' %>
<h2 title="<%= h @news.title %>"><%= avatar(@news.author, :size => "24") %><%=h @news.title %></h2>
</div>
<% if authorize_for('news', 'edit') %>
<div id="edit-news" style="display:none;">

@ -40,7 +40,7 @@ See doc/COPYRIGHT.rdoc for more details.
<div class="top-page">
<%= render :partial => 'layouts/action_menu_specific' %>
<h2 title="<%= h(@version.name)%>"><%= h(@version.name) %></h2>
<h2 title="<%= h(@version.name) %>"><%= h(@version.name) %></h2>
</div>
<div id="version-summary">

Loading…
Cancel
Save