2015-02-03 19:29:01 +03:00
|
|
|
{{#unless navItem.last}}
|
2015-06-13 17:34:09 +03:00
|
|
|
<span class="gh-blognav-grab icon-grab">
|
|
|
|
<span class="sr-only">Reorder</span>
|
|
|
|
</span>
|
2015-02-03 19:29:01 +03:00
|
|
|
{{/unless}}
|
2015-05-25 16:17:14 +03:00
|
|
|
|
|
|
|
<div class="gh-blognav-line">
|
|
|
|
<span class="gh-blognav-label">
|
2015-04-24 16:44:18 +03:00
|
|
|
{{gh-trim-focus-input class="gh-input" focus=navItem.last placeholder="Label" value=navItem.label}}
|
2015-01-18 03:16:54 +03:00
|
|
|
</span>
|
2015-05-25 16:17:14 +03:00
|
|
|
<span class="gh-blognav-url">
|
2015-04-24 16:44:18 +03:00
|
|
|
{{gh-navitem-url-input class="gh-input" baseUrl=baseUrl url=navItem.url last=navItem.last change="updateUrl"}}
|
2015-01-18 03:16:54 +03:00
|
|
|
</span>
|
|
|
|
</div>
|
2015-05-25 16:17:14 +03:00
|
|
|
|
|
|
|
{{#if navItem.last}}
|
|
|
|
<button type="button" class="gh-blognav-add" {{action "addItem"}}>
|
|
|
|
<i class="icon-add2"><span class="sr-only">Add</span></i>
|
|
|
|
</button>
|
|
|
|
{{else}}
|
|
|
|
<button type="button" class="gh-blognav-delete" {{action "deleteItem" navItem}}>
|
|
|
|
<i class="icon-trash"><span class="sr-only">Delete</span></i>
|
|
|
|
</button>
|
|
|
|
{{/if}}
|