orbit-basic/app/views/admin/sites/_update.html.erb

9 lines
189 B
Plaintext

<% if @site.up_to_date? %>
<div class="bought_btn">
<%= t('admin.up_to_date') %>
</div>
<% else %>
<div class="buy_btn">
<%= link_to t(:update), site_update_path %>
</div>
<% end %>