mirror of
https://github.com/sismics/docs.git
synced 2024-11-25 15:17:57 +01:00
Closes #68: Display contributors in UI
This commit is contained in:
parent
59682b5ba6
commit
12efd5c11f
@ -16,6 +16,16 @@
|
||||
<dd ng-if="document.coverage">{{ document.coverage }}</dd>
|
||||
<dt ng-if="document.rights">rights</dt>
|
||||
<dd ng-if="document.rights">{{ document.rights }}</dd>
|
||||
<dt>Contributors</dt>
|
||||
<dd>
|
||||
<span ng-repeat="contributor in document.contributors">
|
||||
<span class="btn btn-default btn-xs">
|
||||
<a href="#/user/{{ contributor.username }}">
|
||||
{{ contributor.username }}
|
||||
</a>
|
||||
</span>
|
||||
</span>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<div ng-file-drop drag-over-class="bg-success" ng-multiple="true" allow-dir="false" ng-model="dropFiles"
|
||||
|
@ -39,6 +39,18 @@
|
||||
<dd ng-if="document.subject">{{ document.subject }}</dd>
|
||||
<dt ng-if="document.identifier">Identifier</dt>
|
||||
<dd ng-if="document.identifier">{{ document.identifier }}</dd>
|
||||
<dt ng-if="document.publisher">Publisher</dt>
|
||||
<dd ng-if="document.publisher">{{ document.publisher }}</dd>
|
||||
<dt ng-if="document.format">Format</dt>
|
||||
<dd ng-if="document.format">{{ document.format }}</dd>
|
||||
<dt ng-if="document.source">Source</dt>
|
||||
<dd ng-if="document.source">{{ document.source }}</dd>
|
||||
<dt ng-if="document.type">Type</dt>
|
||||
<dd ng-if="document.type">{{ document.type }}</dd>
|
||||
<dt ng-if="document.coverage">Coverage</dt>
|
||||
<dd ng-if="document.coverage">{{ document.coverage }}</dd>
|
||||
<dt ng-if="document.rights">rights</dt>
|
||||
<dd ng-if="document.rights">{{ document.rights }}</dd>
|
||||
</dl>
|
||||
|
||||
<div class="row" ui-sortable="fileSortableOptions" ng-model="files" ng-show="files.length > 0">
|
||||
|
Loading…
Reference in New Issue
Block a user