2015-11-22 16:45:27 +03:00
|
|
|
<h1 class="api-info-header">{{data.title}} ({{data.version}})</h1>
|
2015-10-23 12:03:47 +03:00
|
|
|
<p *ng-if="data.description" inner-html="{{data.description | marked}}"> </p>
|
2015-10-07 12:47:57 +03:00
|
|
|
<p>
|
|
|
|
<!-- TODO: create separate components for contact and license ? -->
|
2015-10-10 15:34:46 +03:00
|
|
|
<span *ng-if="data.contact"> Contact:
|
2015-10-07 12:47:57 +03:00
|
|
|
<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>
|