Skip to content

Commit

Permalink
Always select collectionlink item to the left
Browse files Browse the repository at this point in the history
  • Loading branch information
flommy committed Oct 16, 2020
1 parent 8873145 commit bada9f5
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions modules/Collections/assets/field-collectionlink.tag
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
<table class="uk-table uk-table-tabbed uk-table-striped" if="{ modalOpen && entries.length }">
<thead>
<tr>
<th show="{opts.multiple}"></th>
<th></th>
<th class="uk-text-small" each="{field,idx in fields}">
<a class="uk-link-muted { parent.sort[field.name] ? 'uk-text-primary':'' }" onclick="{ parent.updatesort }" data-sort="{ field.name }">

Expand All @@ -112,19 +112,18 @@
<span if="{parent.sort[field.name]}" class="uk-icon-long-arrow-{ parent.sort[field.name] == 1 ? 'up':'down'}"></span>
</a>
</th>
<th width="20"></th>
</tr>
</thead>
<tbody>
<tr each="{entry,idx in entries}">
<td show="{parent.opts.multiple}"><input class="uk-checkbox" type="checkbox" onclick="{parent.toggleSelected}"></td>
<td show="{!parent.opts.multiple}">
<a onclick="{ parent.linkItem }"><i class="uk-icon-link"></i></a>
</td>
<td class="uk-text-truncate" each="{field,idy in parent.fields}" if="{ field.name != '_modified' }">
<raw content="{ App.Utils.renderValue(field.type, parent.entry[field.name], field) }"></raw>
</td>
<td>{ App.Utils.dateformat( new Date( 1000 * entry._modified )) }</td>
<td show="{!parent.opts.multiple}">
<a onclick="{ parent.linkItem }"><i class="uk-icon-link"></i></a>
</td>
</tr>
</tbody>
</table>
Expand Down

0 comments on commit bada9f5

Please sign in to comment.