Project

General

Profile

« Previous | Next » 

Revision 60193

[Library | Trunk]: 1. Hide Annotations title if annotation list is empty. 2. Make more obvious when add annotation is disable

View differences:

resultLanding.component.html
107 107
                  </span>
108 108
                  <span class="uk-margin-small-left">add annotation</span>
109 109
                </a>
110
                <span *ngIf="!pid || !user" class="uk-link-text uk-text-bold uk-text-uppercase disabled"
111
                   [attr.uk-tooltip]="!pid?'Annotations are only available for resources with a PID (persistent identifier) like DOI, handle, PMID':
112
                'Annotations are only available for logged in users'">
113
                  <span class="uk-icon-button uk-button-primary uk-icon disabled">
110
                <span *ngIf="!pid || !user" class="uk-link-text uk-text-bold uk-text-uppercase uk-text-muted"
111
                   [attr.uk-tooltip]="!pid?'Annotations are available only for resources with a PID (persistent identifier) like DOI, handle, PMID':
112
                'Annotations are available only for logged in users'">
113
                  <span class="uk-icon-button uk-icon uk-disabled">
114 114
                    <img src="assets/common-assets/b2note.png">
115 115
                  </span>
116 116
                  <span class="uk-margin-small-left">add annotation</span>

Also available in: Unified diff