Commit bdc61952 authored by Thomas Löffler's avatar Thomas Löffler

Show only external manual in detail view if given

parent bcd5e67c
Pipeline #4632 passed with stages
in 5 minutes and 58 seconds
......@@ -124,21 +124,16 @@
</f:if>
</div>
<div class="col-md-4">
<f:if condition="{documentationLink}">
<f:if condition="{extension.externalManual}">
<f:then>
<f:link.external class="btn btn-info btn-block" uri="{documentationLink}">
<i class="fa fa-book"></i> Extension manual
<f:link.external class="btn btn-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 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:else>
<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:if condition="{documentationLink}">
<f:link.external class="btn btn-info btn-block" uri="{documentationLink}" target="_blank">
<i class="fa fa-book"></i> Extension manual
</f:link.external>
</f:if>
</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