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

Move all prominent links to top of detail box

Change detail box to grey instead of blue
parent 5f4f9084
Pipeline #3931 passed with stages
in 7 minutes and 49 seconds
......@@ -9,6 +9,14 @@
<span itemprop="name">{extension.lastVersion.author.name}</span>
</dd>
</f:if>
<f:if condition="{extension.lastVersion.author.company}">
<dt>
<f:translate key="company" />
</dt>
<dd itemprop="worksFor" itemscope itemtype="http://schema.org/Organization">
<span itemprop="name">{extension.lastVersion.author.company}</span>
</dd>
</f:if>
<dt>Last update</dt>
<dd>
<span hidden itemprop="dateCreated"><f:format.date format="c">@{extension.lastVersion.uploadDate}</f:format.date></span>
......@@ -53,23 +61,13 @@
<f:render partial="InlineRelationList" arguments="{relations: extension.lastVersion.conflicts}" />
</dd>
</f:if>
<f:if condition="{extension.repositoryUrl}">
<dt>
<f:translate key="repository_url" />
</dt>
<dd>
<f:link.external rel="nofollow" uri="{extension.repositoryUrl}" target="_blank">
<f:translate key="repository_url_value" />
</f:link.external>
</dd>
</f:if>
<f:if condition="{flattrUrl}">
<dt>
<f:translate key="donate" />
</dt>
<dd>
<f:link.external uri="{flattrUrl}" target="_blank"><img
src="https://api.flattr.com/button/flattr-badge-large.png"
src="https://button.flattr.com/flattr-badge-large.png"
alt="{f:translate(key:'donate')}" /></f:link.external>
</dd>
</f:if>
......
......@@ -47,6 +47,15 @@
</h4>
</div>
</f:if>
<f:if condition="{owner.username} == 'abandoned_extensions'">
<div class="alert alert-danger mt-3 mb-3" role="alert">
<h4 class="alert-header">
<span class="ter-ext-state-beta"><i class="fa fa-exclamation-triangle"></i></span>
Obsolete extension
<small class="text-muted">This extension is marked as obsolete and not supported anymore</small>
</h4>
</div>
</f:if>
<div itemscope itemtype="http://schema.org/SoftwareApplication">
<div hidden itemprop="applicationCategory">TYPO3 Extension</div>
......@@ -115,36 +124,41 @@
</f:if>
</div>
<div class="col-md-4">
<f:if condition="{extension.forgeLink}">
<f:link.external class="btn btn-success btn-block" rel="nofollow" uri="{extension.forgeLink}" target="_blank">
<f:translate key="found_a_bug" />
</f:link.external>
</f:if>
<f:if condition="{documentationLink}">
<f:then>
<f:link.external class="btn btn-info btn-block" uri="{documentationLink}">Manual on docs.typo3.org</f:link.external>
<f:link.external class="btn btn-info btn-block" uri="{documentationLink}">
<i class="fa fa-book"></i> Extension manual
</f:link.external>
<f:if condition="{extension.externalManual}">
<f:link.external class="btn btn-info btn-block" rel="nofollow" uri="{extension.externalManual}" target="_blank">
<f:translate key="external_manual" />
<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:then>
<f:link.external class="btn btn-info btn-block" rel="nofollow" uri="{extension.externalManual}" target="_blank">
<f:translate key="external_manual" />
</f:link.external>
</f:then>
<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:else>
</f:if>
<f:if condition="{extension.forgeLink}">
<f:link.external class="btn btn-success btn-block" rel="nofollow" uri="{extension.forgeLink}" target="_blank">
<i class="fa fa-hand-o-right"></i> Found an issue? Get in contact!
</f:link.external>
</f:if>
<f:if condition="{extension.repositoryUrl}">
<f:link.external class="btn btn-secondary btn-block" rel="nofollow" uri="{extension.repositoryUrl}" target="_blank">
<i class="fa fa-code-fork"></i> Take a look into the code
</f:link.external>
</f:if>
<f:if condition="{extension.paypalUrl}">
<f:link.external class="btn btn-dark btn-block" rel="nofollow" uri="{extension.paypalUrl}" target="_blank">
<f:translate key="donate_url" />
<i class="fa fa-thumbs-o-up"></i> Like it? Support it.
</f:link.external>
</f:if>
<div class="alert alert-info">
<div class="alert alert-secondary">
<f:render partial="ExtensionSingleInfo" arguments="{extension:extension, settings:settings, owner:owner, flattrUrl:flattrUrl, documentationLink:documentationLink, qualityLinkNotBroken:qualityLinkNotBroken, urlToQualityServer:urlToQualityServer}" />
</div>
</div>
......
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