Skip to content

Commit

Permalink
Fixed filemanager bug and added comment icon in model feed
Browse files Browse the repository at this point in the history
  • Loading branch information
inderpreetsingh committed Jul 26, 2014
1 parent 2fe7e54 commit 3abee1a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
9 changes: 8 additions & 1 deletion OGV/client/styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -168,14 +168,21 @@ input:focus {
color:#fff;
overflow:hidden;
}
.meta-love-icon {
.meta-icon {
display:inline-block;
width:40px;
height: 40px;
vertical-align:bottom;
}

.meta-love-icon{
background:url('/icons/love.png') no-repeat;
}

.meta-comment-icon{
background:url('/icons/Chat.png') no-repeat;
}

.model-meta-love {
float:right;
text-align:right;
Expand Down
1 change: 1 addition & 0 deletions OGV/client/templates/modelFeed.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
</div>

<div class="comment">
<span class="meta-comment-icon meta-icon"></span>
</div>

<div class="share">
Expand Down
2 changes: 1 addition & 1 deletion OGV/client/views/file_manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
Template.filemanager.helpers({
models: function()
{
return ModelFiles.find({'owner' : Meteor.userId()});
return ModelFiles.find({'owner' : Meteor.user()});
}
});

Expand Down

0 comments on commit 3abee1a

Please sign in to comment.