Permalink
Browse files

setting the heading to be the conference hashtag if it's selected, an…

…d home if not.
  • Loading branch information...
1 parent 9d7edd0 commit b6a448cdc728aa04b96565ab48a121a4fc6840df @DjMojoRisin DjMojoRisin committed Aug 30, 2011
Showing with 6 additions and 1 deletion.
  1. +6 −1 app/views/Application/index.html
@@ -4,7 +4,12 @@
<div class="index" data-role="page" data-url="/" data-cache="never">
<div data-role="header">
<a href="@{Application.config()}" data-icon="gear" data-transition="slidedown">Configure</a>
- <h1>Home</h1>
+ #{if user.getLocationStr()}
+ <h1>${user.getLocationStr()}</h1>
+ #{/if}
+ #{else}
+ <h1>Home</h1>
+ #{/else}
<a href="@{RequiresLogin.logout()}" rel="external" data-icon="delete" data-iconpos="right">Logout</a>
</div><!-- /header -->

0 comments on commit b6a448c

Please sign in to comment.