Commit 377dcdee authored by Jens Jacobsen's avatar Jens Jacobsen

Merge branch '352-add-option-to-hide-the-extension-manual-button' into 'develop'

Resolve "Hide the "Extension manual" button if a link to "External manual" exists"

Closes #352

See merge request !355
parents bcd5e67c bdc61952
Pipeline #4761 passed with stages
in 5 minutes and 45 seconds
...@@ -124,21 +124,16 @@ ...@@ -124,21 +124,16 @@
</f:if> </f:if>
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
<f:if condition="{documentationLink}"> <f:if condition="{extension.externalManual}">
<f:then> <f:then>
<f:link.external class="btn btn-info btn-block" uri="{documentationLink}"> <f:link.external class="btn btn-info btn-block" rel="nofollow" uri="{extension.externalManual}" target="_blank">
<i class="fa fa-book"></i> Extension manual <i class="fa fa-book"></i> <f:translate key="external_manual" />
</f:link.external> </f:link.external>
<f:if condition="{extension.externalManual}">
<f:link.external class="btn btn-outline-info btn-block" rel="nofollow" uri="{extension.externalManual}" target="_blank">
<i class="fa fa-book"></i> <f:translate key="external_manual" />
</f:link.external>
</f:if>
</f:then> </f:then>
<f:else> <f:else>
<f:if condition="{extension.externalManual}"> <f:if condition="{documentationLink}">
<f:link.external class="btn btn-outline-info btn-block" rel="nofollow" uri="{extension.externalManual}" target="_blank"> <f:link.external class="btn btn-info btn-block" uri="{documentationLink}" target="_blank">
<i class="fa fa-book"></i> <f:translate key="external_manual" /> <i class="fa fa-book"></i> Extension manual
</f:link.external> </f:link.external>
</f:if> </f:if>
</f:else> </f:else>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment