Skip to content
Snippets Groups Projects
Commit 7333d8bd authored by Robert Goldmann's avatar Robert Goldmann
Browse files

#608 - transactions from readonly accounts should not offer an edit button

parent c0771d32
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,9 @@
<#macro transactionLinks transaction>
<div class="col s4 l2 xl1 right-align transaction-buttons no-wrap">
<@header.buttonFlat url='/transactions/' + transaction.ID?c + '/highlight' icon='open_in_new' localizationKey='' classes="no-padding text-default buttonHighlight"/>
<#if transaction.getAccount().getAccountState().name() == 'FULL_ACCESS'>
<@header.buttonFlat url='/transactions/' + transaction.ID?c + '/edit' icon='edit' localizationKey='' classes="no-padding text-default"/>
</#if>
</div>
</#macro>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment