@ -14,50 +14,46 @@
< div class = "container" >
< div class = "container" >
< div class = "row" >
< div class = "row" >
< div id = "main" class = "col-md-8" >
< div id = "main" class = "col-md-8" >
< div class = "row" >
{{#is_home}}{{#subject}}
{{#is_home}}
< div class = "panel panel-primary" >
< div class = "panel panel-primary" >
< div class = "panel-heading" >
< div class = "panel-heading" >
{{#username}}
< h3 class = "panel-title" >
< h3 class = "panel-title" >
{{#is_feed}}
{{#is_feed}}< span class = "glyphicon glyphicon-home" > < / span > Home: {{fullname}}{{/is_feed}}
< a class = "label label-primary" href = "{{site_root}}/home/{{username}}" title = "@{{username}}'s home" > < span class = "glyphicon glyphicon-home" > < / span >
{{#is_mentions}}< span class = "glyphicon glyphicon-bell" > < / span > Mentions of {{fullname}}{{/is_mentions}}
{{fullname}}'s home< / a >
{{/is_feed}}
{{#is_mentions}}
< a class = "label label-primary" href = "{{site_root}}/home/{{username}}/mentions" title = "mentions of @{{username}}" > < span class = "glyphicon glyphicon-bell" > < / span >
Mentions of {{fullname}}< / a >
{{/is_mentions}}
{{#is_messages}}
< a class = "label label-primary" href = "{{site_root}}/messages/{{username}}" title = "direct messages to/from @{{username}}" > < span class = "glyphicon glyphicon-envelope" > < / span >
{{fullname}}< / a >
{{/is_messages}}
< / h3 >
< / h3 >
{{/username}}
{{^username}}
{{/username}}
< / div >
< / div >
< div class = "panel-body" >
< div class = "panel-body" >
< h4 >
< div class = "media avatars32" >
{{^is_feed}}
< a class = "pull-left thumbnail" href = "{{site_root}}/user/{{username}}"
< a class = "label label-primary" href = "{{site_root}}/home/{{username}}" title = "@{{username}}'s home" > < span class = "glyphicon glyphicon-home" > < / span > Home< / a >
title="@{{username}}'s profile">
{{/is_feed}}
< img class = "media-object avatar" src = "{{avatar}}" alt = "{{fullname}}" >
{{^is_mentions}}
< / a >
< a class = "label label-primary" href = "{{site_root}}/home/{{username}}/mentions" title = "mentions of @{{username}}" > < span class = "glyphicon glyphicon-bell" > < / span > Mentions< / a >
< div class = "media-body" >
{{/is_mentions}}
< ul class = "nav nav-pills" >
{{^is_messages}}
< li { { # is_feed } } class = "active" { { / is_feed } } >
< a class = "label label-primary" href = "{{site_root}}/messages/{{username}}" title = "direct messages from/to @{{username}}" > < span class = "glyphicon glyphicon-envelope" > < / span > Messages< / a >
< a href = "{{site_root}}/home/{{username}}"
{{/is_messages}}
title="@{{username}}'s home">< span class = "glyphicon glyphicon-home" > < / span > Home< / a >
< a class = "label label-info" href = "{{site_root}}{{#username}}/user/{{.}}{{/username}}" title = "@{{username}}'s profile" > < span class = "glyphicon glyphicon-user" > < / span > Profile< / a >
< / li >
< / h4 >
< li { { # is_mentions } } class = "active" { { / is_mentions } } >
< a href = "{{site_root}}/home/{{username}}/mentions"
title="mentions of @{{username}}">< span class = "glyphicon glyphicon-bell" > < / span > Mentions< / a >
< / li >
< li >
< a href = "{{site_root}}/messages/{{username}}"
title="direct messages from/to @{{username}}">< span class = "glyphicon glyphicon-envelope" > < / span > Messages< / a >
< / li >
< / ul >
< / div >
< / div >
< / div >
< / div >
{{/is_home}}
< / div >
< / div >
{{/subject}}{{/is_home}}
{{^is_home}}
{{^is_home}}
< div id = "header" class = "col-md-12 well" >
< div id = "header" class = "col-md-12 well" >
{{#subject}}
{{#subject}}
< div class = "media" >
< div class = "media" >
< a class = "pull-left thumbnail" href = "{{#username}}/user/{{.}}{{/username}}{{^username}}#{{/username}}" >
< a class = "pull-left thumbnail" href = "{{site_root}}{{#username}}/user/{{.}}{{/username}}{{^username}}#{{/username}}"
{{#username}}title="@{{usermame}}'s profile"{{/username}}>
< img class = "media-object avatar" src = "{{#avatar}}{{.}}{{/avatar}}{{^avatar}}/assets/img/twister-64.jpg{{/avatar}}" alt = "{{fullname}}" >
< img class = "media-object avatar" src = "{{#avatar}}{{.}}{{/avatar}}{{^avatar}}/assets/img/twister-64.jpg{{/avatar}}" alt = "{{fullname}}" >
< / a >
< / a >
< div class = "media-body" >
< div class = "media-body" >
@ -80,7 +76,6 @@
{{/subject}}
{{/subject}}
< / div >
< / div >
{{/is_home}}
{{/is_home}}
< / div > <!-- /.row -->
< div class = "row" >
< div class = "row" >
< div id = "messages" class = "col-md-12" >
< div id = "messages" class = "col-md-12" >
{{#any_messages}}< ul class = "list-group media-list" > {{#messages}}{{> message}}{{/messages}}< / ul > {{/any_messages}}
{{#any_messages}}< ul class = "list-group media-list" > {{#messages}}{{> message}}{{/messages}}< / ul > {{/any_messages}}