Orbit/app/views/admin/sites/_registration.html.erb

12 lines
352 B
Plaintext
Raw Normal View History

2011-08-23 07:01:22 +00:00
<% if @site && @site.registered? %>
2011-08-25 07:08:23 +00:00
<div class="bought_btn">
<%= t('admin.registered') %>
</div>
2011-08-23 07:01:22 +00:00
<% else %>
<div class="buy_btn">
2011-08-25 07:08:23 +00:00
<%= link_to 'register', "http://#{APP_CONFIG['store_ip']}/user/sites/register?" +
{:site => {:school => @site.school, :department => @site.department}}.to_query,
:target => '_blank' %>
</div>
<% end %>