Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mpetitdant committed Apr 21, 2014
1 parent e6a8d06 commit 7b99596
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 6 additions & 2 deletions app/views/Application/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,9 @@ <h2 id="time-left-h2" style="margin: 5px;">&{'countdown'} <span id='time-left'><
<div style="text-align: center">
<div class="well col-sm-4 col-sm-offset-4">
<a href="@{Sessions.create(session.username)}" class="btn btn-lg btn-danger btn-block">&{'menu.agenda.submit'}</a>
<a href="@{LightningTalks.create()}" class="btn btn-lg btn-info btn-block">&{'lightningtalk.submit'}</a>
#{if session.username}
<a href="@{LightningTalks.create()}" class="btn btn-lg btn-info btn-block">&{'lightningtalk.submit'}</a>
#{/if}
</div>
</div>
#{/if}
Expand All @@ -155,7 +157,9 @@ <h2 id="time-left-h2" style="margin: 5px;">&{'countdown'} <span id='time-left'><
</div>
#{/if}
<a href="@{Sessions.currentPlanning()}" class="btn btn-lg btn-primary btn-block">&{'home.planning'}</a>
<a href="@{LightningTalks.create()}" class="btn btn-lg btn-info btn-block">&{'lightningtalk.submit'}</a>
#{if session.username}
<a href="@{LightningTalks.create()}" class="btn btn-lg btn-info btn-block">&{'lightningtalk.submit'}</a>
#{/if}
</div>
</div>
#{/else}
Expand Down
4 changes: 1 addition & 3 deletions app/views/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,7 @@
<a href="#" class="dropdown-toggle" data-toggle="dropdown">&{'menu.agenda'} <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="@{Sessions.index()}">&{'menu.agenda.sessions'}</a></li>
#{if session.username}
<li><a href="@{LightningTalks.list()}">&{'menu.agenda.lightningtalks'}</a></li>
#{/if}
<li><a href="@{LightningTalks.list()}">&{'menu.agenda.lightningtalks'}</a></li>
#{if Boolean.valueOf(play.configuration.getProperty('cfp.isOpen', 'false')) }
#{if session.username}
<li class="divider"></li>
Expand Down

0 comments on commit 7b99596

Please sign in to comment.