Skip to content

Commit

Permalink
Fix #1389 "FR Home: don't link if form is not available"
Browse files Browse the repository at this point in the history
  • Loading branch information
ebruchez committed Oct 31, 2013
1 parent 25c0a01 commit a566b07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/resources/apps/fr/home/home.xhtml
Expand Up @@ -519,8 +519,8 @@
<xf:var name="remote-available" value="frf:isRemoteAvailable(.)"/>
<xf:var name="remote-unavailable" value="frf:isRemoteUnavailable(.)"/>
<xf:var name="ops" value="xxf:split(@operations)"/>
<xf:var name="can-navigate-summary" value="$ops = ('*', 'update', 'read', 'delete')"/>
<xf:var name="can-navigate-new" value="$ops = ('*', 'create')"/>
<xf:var name="can-navigate-summary" value="$local-available and $ops = ('*', 'update', 'read', 'delete')"/>
<xf:var name="can-navigate-new" value="$local-available and $ops = ('*', 'create')"/>
<xf:var name="link" value="if ($can-navigate-summary or $can-navigate-new)
then concat('/fr/', application-name, '/', form-name, '/', if ($can-navigate-summary) then 'summary' else 'new')
else ()"/>
Expand Down

0 comments on commit a566b07

Please sign in to comment.