Removed edit button from metadata (click to edit now)

This commit is contained in:
Mark McDowall 2014-06-10 17:07:30 -07:00
parent 8967f59f35
commit fbdc84b6cd
3 changed files with 4 additions and 6 deletions

View File

@ -13,7 +13,7 @@ define(
tagName : 'li',
events: {
'click .x-edit' : '_edit'
'click' : '_edit'
},
initialize: function () {

View File

@ -1,9 +1,6 @@
<div class="metadata-item">
<div class="metadata-item" title="Click to edit">
<div>
<h3>{{name}}</h3>
<span class="btn-group pull-right">
<button class="btn btn-xs btn-icon-only x-edit"><i class="icon-nd-edit"/></button>
</span>
</div>
<div class="settings">

View File

@ -10,6 +10,7 @@
.metadata-item {
.card;
.clickable;
width: 200px;
height: 230px;
@ -18,7 +19,7 @@
h3 {
margin-top: 0px;
display: inline-block;
width: 140px;
width: 180px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;