]> git.openstreetmap.org Git - rails.git/commitdiff
Merge remote-tracking branch 'upstream/pull/2504'
authorTom Hughes <tom@compton.nu>
Wed, 15 Jan 2020 12:16:24 +0000 (12:16 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 15 Jan 2020 12:16:24 +0000 (12:16 +0000)
app/views/diary_entries/index.html.erb

index acf9ac17c7f558a443bd0bde51f58227ead71372..a599aea177468c9122af638012788f22c3260394 100644 (file)
 
       <% if @user %>
         <% if @user == current_user %>
-          <div>
-            <li><%= link_to image_tag("new.png", :class => "small_icon", :border => 0) + t(".new"), new_diary_entry_path, :title => t(".new_title") %></li>
-          </div>
+          <li><%= link_to image_tag("new.png", :class => "small_icon") + t(".new"), new_diary_entry_path, :title => t(".new_title") %></li>
         <% end %>
       <% else %>
         <% if current_user %>
-          <div>
-            <li><%= link_to image_tag("new.png", :class => "small_icon", :border => 0) + t(".new"), new_diary_entry_path, :title => t(".new_title") %></li>
-          </div>
+          <li><%= link_to image_tag("new.png", :class => "small_icon") + t(".new"), new_diary_entry_path, :title => t(".new_title") %></li>
         <% end %>
       <% end %>
     </ul>