This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/views/admin/sites/_registration.html.erb

13 lines
368 B
Plaintext
Raw Normal View History

2011-11-16 10:34:54 +00:00
<%# if @site && @site.registered? %>
<% if @site %>
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 %>