mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-01-13 05:10:59 +00:00
Update contester header
This commit is contained in:
parent
2627e43e26
commit
df719dee40
2 changed files with 2 additions and 2 deletions
|
@ -133,7 +133,6 @@ class Contest < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def can_join?(cuser)
|
||||
byebug
|
||||
cuser and !cuser&.banned?(Ban::TYPE_LEAGUE) and \
|
||||
(cuser&.lead_teams.not_in_contest(self).exists?) and \
|
||||
Contest.joinable.where(id: self).exists?
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<%= link_to (h @contester.team.name), team_url(@contester.team, team: 'matches', anchor: "contest_#{@contester.contest.id}") %>
|
||||
</span>
|
||||
</h1>
|
||||
<h4 class="fancy">in <%= namelink @contester.contest %></h4>
|
||||
|
||||
<% if @contester.team.logo %>
|
||||
<div class="logo">
|
||||
|
@ -12,7 +13,7 @@
|
|||
<% end %>
|
||||
</div>
|
||||
|
||||
<h4 class="nane"><%= namelink @contester.contest %></h4>
|
||||
|
||||
|
||||
<div id="matches" class="tabbed">
|
||||
<ul id="matches-nav" class="tabs">
|
||||
|
|
Loading…
Reference in a new issue