|
|
@ -2,10 +2,19 @@
|
|
|
|
<%= l(:label_notification) %>
|
|
|
|
<%= l(:label_notification) %>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<% if User.current.logged? %>
|
|
|
|
<%= link_to(l(:bale_news_notice),
|
|
|
|
<%= link_to(l(:bale_news_notice),
|
|
|
|
new_contest_contestnotification_path(@contest),
|
|
|
|
new_contest_contestnotification_path(@contest),
|
|
|
|
:class => 'icon icon-add',
|
|
|
|
:class => 'icon icon-add',
|
|
|
|
:onclick => 'showAndScrollTo("add-contestnotifications", "contestnotifications_title"); return false;') %>
|
|
|
|
:onclick => 'showAndScrollTo("add-contestnotifications", "contestnotifications_title"); return false;') %>
|
|
|
|
|
|
|
|
<% else %>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<%= l(:label_user_login_attending_contest) %>
|
|
|
|
|
|
|
|
<%= link_to l(:label_user_login_new), signin_path %>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<% if @contest && User.current.allowed_to?(:manage_contestnotifications, @contest) %>
|
|
|
|
<% if @contest && User.current.allowed_to?(:manage_contestnotifications, @contest) %>
|
|
|
|
<div id="add-contestnotifications" class="add_frame" style="display:none;">
|
|
|
|
<div id="add-contestnotifications" class="add_frame" style="display:none;">
|
|
|
|