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.
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-10-18 03:36:01 +00:00
|
|
|
<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>
|
2011-10-18 03:36:01 +00:00
|
|
|
<% end %>
|