CSS problem for page
This commit is contained in:
1 parent
f898a29fdf
commit
c248b729db
6 files changed
+108
-42
No files matched your search
@@ -1,7 +1,11 @@
|
||||
<% if @site && @site.registered? %>
|
||||
<%= t('admin.registered') %>
|
||||
<div class="bought_btn">
|
||||
<%= t('admin.registered') %>
|
||||
</div>
|
||||
<% else %>
|
||||
<%= link_to 'register', "http://#{APP_CONFIG['store_ip']}/user/sites/register?" +
|
||||
{:site => {:school => @site.school, :department => @site.department}}.to_query,
|
||||
:target => '_blank' %>
|
||||
<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>
|
||||
<% end %>
|
||||
@@ -1,5 +1,9 @@
|
||||
<% if @site.up_to_date? %>
|
||||
<%= t('admin.up_to_date') %>
|
||||
<div class="bought_btn">
|
||||
<%= t('admin.up_to_date') %>
|
||||
</div>
|
||||
<% else %>
|
||||
<%= link_to t(:update), site_update_path %>
|
||||
<div class="buy_btn">
|
||||
<%= link_to t(:update), site_update_path %>
|
||||
</div>
|
||||
<% end %>
|
||||
Reference in new issue
Block a user