mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-23 17:13:44 +03:00
16 lines
655 B
HTML
16 lines
655 B
HTML
<h1>{{data.title}} ({{data.version}})</h1>
|
|
<p *ng-if="data.description"> {{data.description}} </p>
|
|
<p>
|
|
<!-- TODO: create separate components for contact and license ? -->
|
|
<span *ng-if="data.contact"> Contact:
|
|
<a *ng-if="data.contact.url" href="{{data.contact.url}}">
|
|
{{data.contact.name || data.contact.url}}</a>
|
|
<a *ng-if="data.contact.email" href="mailto:{{data.contact.email}}">
|
|
{{data.contact.email}}</a>
|
|
</span>
|
|
<span *ng-if="data.license"> License:
|
|
<a *ng-if="data.license.url" href="{{data.license.url}}"> {{data.license.name}} </a>
|
|
<span *ng-if="!data.license.url"> {{data.license.name}} </span>
|
|
</span>
|
|
</p>
|