mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Display item list position from 1 to n
Remove unusued variable in template
This commit is contained in:
@@ -248,7 +248,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="position">
|
||||
<%= position %>
|
||||
<%= position + 1 %>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@@ -24,9 +24,7 @@ define([
|
||||
"click .btn-cancel-field": "toggleCreateFormAction"
|
||||
},
|
||||
render: function() {
|
||||
var template = _.template($("#create_template").html(), {
|
||||
languages: AdminFieldApp.languages
|
||||
});
|
||||
var template = _.template($("#create_template").html());
|
||||
|
||||
this.$el.html(template);
|
||||
|
||||
|
Reference in New Issue
Block a user