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

11 lines
348 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 %>
2011-08-25 07:08:23 +00:00
<div class="buy_btn">
<%= link_to 'register', "http://#{APP_CONFIG['store_ip']}/user/sites/register?" +
{:site => {:school => @site.school, :department => @site.department}}.to_query,
:target => '_blank' %>
</div>
2011-08-23 07:01:22 +00:00
<% end %>