Sha256: 853c61a81ace5adfa7b1a6f021f8bb5b84844560a787d85930c16fece6400b98

Contents?: true

Size: 422 Bytes

Versions: 4

Compression:

Stored size: 422 Bytes

Contents

<% if chain.archived_for?(current_user) %>
<%= b raw(t 'views.carrier.thread_archived') %>  
<%= link_to raw(t 'views.carrier.unarchive_link'), unarchive_chain_path(:chain_id => chain, :user_id => current_user), :remote => true, :method => :post %>
<% else %>
<%= link_to raw(t 'views.carrier.archive_link'), archive_chain_path(:chain_id => chain, :user_id => current_user), :remote => true, :method => :post %>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
carrier-0.1.2 app/views/carrier/messages/_archive_chain.html.erb
carrier-0.1.1 app/views/carrier/messages/_archive_chain.html.erb
carrier-0.1.0 app/views/carrier/messages/_archive_chain.html.erb
carrier-0.0.6 app/views/carrier/messages/_archive_chain.html.erb