]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entry/_diary_entry.html.erb
Merge remote-tracking branch 'openstreetmap/pull/1469'
[rails.git] / app / views / diary_entry / _diary_entry.html.erb
index e7084da80727c4e1054e873c4d1144b4740994e4..410e13047663bb32439a90da611a646906216a5c 100644 (file)
     <%= if_administrator(:li) do %>
       <%= link_to t('diary_entry.diary_entry.hide_link'), hide_diary_entry_path(:display_name => diary_entry.user.display_name, :id => diary_entry.id), :method => :post, :data => { :confirm => t('diary_entry.diary_entry.confirm') } %>
     <% end %>
-
-    <% if @user and diary_entry.subscribers.exists?(@user.id) %>
-      <li><%= link_to t('javascripts.changesets.show.unsubscribe'), diary_entry_unsubscribe_url(diary_entry), :method => :post %></li>
-    <% elsif @user %>
-      <li><%= link_to t('javascripts.changesets.show.subscribe'), diary_entry_subscribe_url(diary_entry), :method => :post %></li>
-    <% end %>
-
   </ul>
 </div>