fix stream css

This commit is contained in:
danielgrippi 2012-02-27 19:08:37 -08:00
parent 1e518cbcff
commit 3d48dc4fb0
4 changed files with 20 additions and 21 deletions

View file

@ -10,9 +10,8 @@
<div class="comments"> </div>
{{#if current_user}}
<div class="comment no-border">
<div class="media new_comment_form_wrapper {{#unless comments_count}} hidden {{/unless}}">
{{#if loggedIn}}
<div class="comment no-border media new_comment_form_wrapper {{#unless comments_count}} hidden {{/unless}}">
{{#with current_user}}
<a href="/people/{{guid}}" class="img">
{{{personImage this}}}
@ -28,5 +27,4 @@
</form>
</div>
</div>
</div>
{{/if}}

View file

@ -15,8 +15,6 @@
{{/if}}
<div class="collapsible">
<p>
{{{text}}}
</p>
{{{o_embed_html}}}
</div>

View file

@ -19,7 +19,10 @@ app.views.Base = Backbone.View.extend({
defaultPresenter : function(){
var modelJson = this.model ? this.model.toJSON() : {}
return _.extend(modelJson, {current_user: app.currentUser.attributes});
return _.extend(modelJson, {
current_user : app.currentUser.attributes,
loggedIn : app.currentUser.authenticated()
});
},
render : function() {

View file

@ -534,7 +534,7 @@ ul.as-selections
:border none
.comment
.media
&.media
:margin
:left 0
:right 0