put shell back

master
James Sigurðarson 2016-08-28 01:32:21 +00:00
parent 2bdadcaded
commit c455aa4774
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ shell = Blueprint("shell", __name__, template_folder="../templates/shell")
@shell.route('/shell/') @shell.route('/shell/')
@decorators.must_be_allowed_to("access shell") @decorators.must_be_allowed_to("access shell")
@decorators.competition_running_required @decorators.competition_started_required
@decorators.confirmed_email_required @decorators.confirmed_email_required
def index(): def index():
account = ssh.get_team_account(g.team) account = ssh.get_team_account(g.team)

View File

@ -48,7 +48,7 @@
</nav> </nav>
<ul id="nav-mobile" class="side-nav fixed"> <ul id="nav-mobile" class="side-nav fixed">
{% if config.competition_is_running() or session.admin %} {% if config.competition_has_started() or session.admin %}
{% if logged_in %} {% if logged_in %}
<li><a href="{{ url_for('challenges.index') }}"> <li><a href="{{ url_for('challenges.index') }}">
<div class="side-icon"><i class="material-icons blue-text">flag</i></div> <div class="side-icon"><i class="material-icons blue-text">flag</i></div>