Project

General

Profile

1
<schema2jsonld *ngIf="url" [URL]="url" [name]="title" type="other"></schema2jsonld>
2
<div class="uk-section uk-padding-remove-bottom uk-padding-remove-top">
3
  <div class="communityPanelBackground uk-padding-small">
4
    <div class="uk-container uk-container-large uk-margin-top uk-margin-bottom">
5
      <!-- <ul class="uk-breadcrumb">
6
         <li><a class="breadcrumb" routerLinkActive="router-link-active" routerLink="{{depositLearnHowPage}}"
7
                [queryParams]="properties.environment!='development'?{}:routerHelper.createQueryParam('communityId',communityId)">
8
           Deposit
9
         </a></li>
10
         <li><span class="active">Deposit in Zenodo</span></li>
11
       </ul>-->
12
      <breadcrumbs [light]="true" [breadcrumbs]="breadcrumbs"></breadcrumbs>
13
    </div>
14
  </div>
15
</div>
16
<div class="">
17
  <div class=" uk-section  uk-margin-small-top tm-middle uk-container uk-container-large " id="tm-main">
18
    <helper *ngIf="pageContents && pageContents['top'] && pageContents['top'].length > 0"
19
            [texts]="pageContents['top']"></helper>
20
    <div class="uk-container uk-container-large uk-margin-bottom">
21
      <div class="uk-h2">
22
        <span class="uk-text-bold">Deposit</span> in Zenodo
23
      </div>
24
      <div>
25
        <div *ngIf="masterZenodoCommunity" class="uk-animation-fade  uk-margin-large-top">
26
          Main Zenodo community
27
          <div class=" uk-card uk-card-default uk-card-body uk-padding-remove-horizontal uk-margin-top">
28
            <!-- <div class="uk-text-large uk-margin-bottom"  >Master Zenodo community</div> -->
29
            <div class="uk-comment-header uk-grid-medium uk-flex-middle  uk-padding uk-padding-remove-vertical" uk-grid>
30

    
31
              <div class="uk-width-auto">
32
                <a target="_blank" [href]="masterZenodoCommunity.link">
33
                  <img *ngIf="masterZenodoCommunity.logoUrl" class="uk-comment-avatar"
34
                       src="{{masterZenodoCommunity.logoUrl}}" width="80" height="80" alt="">
35
                </a>
36
              </div>
37
              <div class="uk-width-expand">
38
                <h4 class="uk-comment-title uk-margin-remove">
39
                  <a *ngIf="masterZenodoCommunity.link" class="uk-text-large uk-text-bold" target="_blank"
40
                     href="{{masterZenodoCommunity.link}}">
41
                    <span class="custom-external custom-icon large"></span>
42
                    <span class="space"></span>
43
                    <span *ngIf="masterZenodoCommunity.title">{{masterZenodoCommunity.title}}</span>
44
                    <span *ngIf="!masterZenodoCommunity.title">[no name available]</span>
45
                  </a>
46
                  <span *ngIf="!masterZenodoCommunity.link" class=" uk-text-large  uk-text-bold">
47
                    <span *ngIf="masterZenodoCommunity.title">{{masterZenodoCommunity.title}}</span>
48
                    <span *ngIf="!masterZenodoCommunity.title">[no name available]</span>
49
                  </span>
50
                </h4>
51
                <div *ngIf="masterZenodoCommunity.date" class="uk-comment-meta ">
52
                  last update: {{masterZenodoCommunity.date | date:'yyyy/MM/dd'}}
53
                </div>
54

    
55
              </div>
56
              <!--                    <div>-->
57
              <!--                          <a class="uk-button portal-button" target="_blank" [href]="depositLink + masterZenodoCommunity.id " >-->
58
              <!--                            <span  class="uk-icon"> <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="upload" ratio="1"><polyline fill="none" stroke="#000" points="5 8 9.5 3.5 14 8 "></polyline><rect x="3" y="17" width="13" height="1"></rect><line fill="none" stroke="#000" x1="9.5" y1="15" x2="9.5" y2="4"></line></svg></span>-->
59
              <!--                            <span> New upload</span>-->
60

    
61
              <!--                          </a>-->
62
              <!--                    </div>-->
63
              <span class="uk-width-expand uk-flex uk-flex-bottom uk-flex-right">
64
          <a [href]="depositLink + masterZenodoCommunity.id " target="_blank" type="submit"
65
             class=" zenodoButton uk-float-right uk-button portal-button uk-padding uk-padding-remove-vertical uk-margin-small-left">
66
            <span><span>New upload</span><span uk-icon="arrow-right"></span></span>
67
          </a>
68
        </span>
69
            </div>
70
            <div class="uk-comment-body uk-overflow-auto uk-height-max-medium  uk-padding uk-padding-remove-vertical">
71
              <p *ngIf="masterZenodoCommunity.description" [innerHtml]=masterZenodoCommunity.description></p>
72
            </div>
73
          </div>
74
        </div>
75

    
76
      </div>
77
      <div *ngIf="zenodoSearchUtils.status == errorCodes.LOADING "
78
           class="uk-animation-fade uk-margin-top  uk-width-1-1" role="alert">
79
        <span class="loading-gif  uk-align-center"></span>
80
      </div>
81
      <div
82
          *ngIf=" (zenodoSearchUtils.status == errorCodes.ERROR || zenodoSearchUtils.status == errorCodes.NONE) && !masterZenodoCommunity "
83
          class="uk-animation-fade uk-margin-top  uk-width-1-1 uk-alert uk-alert-warning" role="alert">
84
        No zenodo communities found
85
      </div>
86
      <div class="uk-margin-large-top">Other related Zenodo communities <span *ngIf="communityIds &&
87
      communityIds.length <= size">({{communityIds.length}})</span></div>
88
      <no-load-paging *ngIf="communityIds && communityIds.length > size" [type]="'Zenodo communities'"
89
                      (pageChange)="getCommunities($event)"
90
                      [page]="page" [pageSize]="size"
91
                      [totalResults]="communityIds.length" >
92
      </no-load-paging>
93
      <ul *ngIf="communityIds && communityIds.length > 0" class="uk-list  uk-margin ">
94

    
95
        <ng-template ngFor let-item [ngForOf]="communityIds" let-i="index" >
96
        <li *ngIf="i>=((page-1)*size) && i < communityIds.length && i< this.page * this.size &&
97
        communities[this.communityIds[i]['zenodoid']]"
98
            class="uk-animation-fade uk-margin-top">
99
          <div class=" uk-card uk-card-default uk-card-body uk-padding-remove-horizontal">
100
            <div class="uk-comment-header uk-grid-medium uk-flex-middle uk-padding uk-padding-remove-vertical" uk-grid>
101
              <div class="uk-width-auto">
102
                <a target="_blank" [href]="communities[this.communityIds[i]['zenodoid']].link">
103
                  <img *ngIf="communities[this.communityIds[i]['zenodoid']].logoUrl" class="uk-comment-avatar" src="{{communities[this.communityIds[i]['zenodoid']].logoUrl}}" width="80" height="80"
104
                       alt="">
105
                </a>
106
              </div>
107
              <div class="uk-width-expand">
108
                <h4 class="uk-comment-title uk-margin-remove">
109
                  <a class="uk-width-expand" target="_blank" href="{{communities[this.communityIds[i]['zenodoid']].link}}">
110
                    <span class="custom-external custom-icon large"></span>
111
                    <span class="space"></span>
112
                    <span *ngIf="communities[this.communityIds[i]['zenodoid']].title">{{communities[this.communityIds[i]['zenodoid']].title}}</span>
113
                    <span *ngIf="!communities[this.communityIds[i]['zenodoid']].title">[no name available]</span>
114
                  </a>
115
                </h4>
116
                <div class="uk-comment-meta ">
117
                  last update: {{communities[this.communityIds[i]['zenodoid']].date | date:'yyyy/MM/dd'}}
118
                </div>
119
              </div>
120
              <!--                    <div>-->
121
              <!--                          <a class="uk-button portal-button" target="_blank" [href]="depositLink + communities[this.communityIds[i]['zenodoid']].id " >-->
122
              <!--                            <span  class="uk-icon"> <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="upload" ratio="1"><polyline fill="none" stroke="#000" points="5 8 9.5 3.5 14 8 "></polyline><rect x="3" y="17" width="13" height="1"></rect><line fill="none" stroke="#000" x1="9.5" y1="15" x2="9.5" y2="4"></line></svg></span>-->
123
              <!--                            <span> New upload</span>-->
124

    
125
              <!--                          </a>-->
126
              <!--                    </div>-->
127
              <span class="uk-width-expand uk-flex uk-flex-bottom uk-flex-right">
128
          <a [href]="depositLink + communities[this.communityIds[i]['zenodoid']].id " target="_blank" type="submit"
129
             class=" zenodoButton uk-float-right uk-button portal-button uk-padding uk-padding-remove-vertical uk-margin-small-left">
130
            <span><span>New upload</span><span uk-icon="arrow-right"></span></span>
131
          </a>
132
        </span>
133
            </div>
134
            <div class="uk-comment-body uk-overflow-auto uk-height-max-medium uk-padding uk-padding-remove-vertical">
135
              <p *ngIf="communities[this.communityIds[i]['zenodoid']].description"
136
                 [innerHtml]="communities[this.communityIds[i]['zenodoid']].description"></p>
137
            </div>
138
          </div>
139
        </li>
140
        </ng-template>
141
      </ul>
142
    </div>
143
    <helper *ngIf="pageContents && pageContents['bottom'] && pageContents['bottom'].length > 0"
144
            [texts]="pageContents['bottom']"></helper>
145
  </div>
146
</div>
(2-2/4)