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-margin-top 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="communityBackground">
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" [texts]="pageContents['top']"></helper>
19
      <div class="uk-container uk-container-large uk-margin-bottom">
20
          <div class="uk-h2">
21
            <span class="uk-text-bold">Deposit</span> in Zenodo
22
          </div>
23
          <div>
24
            <div *ngIf="masterZenodoCommunity" class="uk-animation-fade  uk-margin-large-top">
25
              Main Zenodo community
26
              <div class=" uk-card uk-card-default uk-card-body uk-padding-remove-horizontal uk-margin-top">
27
              <!-- <div class="uk-text-large uk-margin-bottom"  >Master Zenodo community</div> -->
28
                 <div class="uk-comment-header uk-grid-medium uk-flex-middle  uk-padding uk-padding-remove-vertical" uk-grid>
29

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

    
50
                    </div>
51
<!--                    <div>-->
52
<!--                          <a class="uk-button portal-button" target="_blank" [href]="depositLink + masterZenodoCommunity.id " >-->
53
<!--                            <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>-->
54
<!--                            <span> New upload</span>-->
55

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

    
71
          </div>
72
          <div *ngIf="zenodoSearchUtils.status == errorCodes.LOADING "
73
                          class="uk-animation-fade uk-margin-top  uk-width-1-1" role="alert">
74
                          <span class="loading-gif  uk-align-center" ></span>
75
          </div>
76
          <div *ngIf=" (zenodoSearchUtils.status == errorCodes.ERROR || zenodoSearchUtils.status == errorCodes.NONE) && !masterZenodoCommunity "
77
                class="uk-animation-fade uk-margin-top  uk-width-1-1 uk-alert uk-alert-warning" role="alert">
78
                 No zenodo communities found
79
          </div>
80
          <ul  *ngIf="communities.length > 0" class="uk-list  uk-margin uk-margin-large-top">
81
            Other related Zenodo communities ({{communities.length}})
82
             <li *ngFor="let item of communities;" class="uk-animation-fade uk-margin-top">
83
               <div class=" uk-card uk-card-default uk-card-body uk-padding-remove-horizontal">
84
                 <div class="uk-comment-header uk-grid-medium uk-flex-middle uk-padding uk-padding-remove-vertical" uk-grid>
85
                    <div class="uk-width-auto">
86
                      <a target="_blank" [href]="item.link">
87
                        <img *ngIf="item.logoUrl" class="uk-comment-avatar" src="{{item.logoUrl}}" width="80" height="80" alt="">
88
                      </a>
89
                    </div>
90
                    <div class="uk-width-expand">
91
                        <h4 class="uk-comment-title uk-margin-remove uk-grid">
92
                          <a class="custom-external uk-width-expand" target="_blank" href="{{item.link}}">
93
                            <span *ngIf="item.title">{{item.title}}</span>
94
                            <span *ngIf="!item.title">[no name available]</span>
95
                          </a>
96
                        <span class="uk-width-1-6 uk-text-center">
97

    
98

    
99
                       </span>
100
                      </h4>
101
                        <div class="uk-comment-meta ">
102
                             last update: {{item.date | date:'yyyy/MM/dd'}}
103
                        </div>
104
                    </div>
105
<!--                    <div>-->
106
<!--                          <a class="uk-button portal-button" target="_blank" [href]="depositLink + item.id " >-->
107
<!--                            <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>-->
108
<!--                            <span> New upload</span>-->
109

    
110
<!--                          </a>-->
111
<!--                    </div>-->
112
        <span class="uk-width-expand uk-flex uk-flex-bottom uk-flex-right">
113
          <a [href]="depositLink + item.id " target="_blank" type="submit"
114
             class=" zenodoButton uk-float-right uk-button portal-button uk-padding uk-padding-remove-vertical uk-margin-small-left">
115
            <span><span>New upload</span><span uk-icon="arrow-right"></span></span>
116
          </a>
117
        </span>
118
                </div>
119
                <div class="uk-comment-body uk-overflow-auto uk-height-max-medium uk-padding uk-padding-remove-vertical">
120
                    <p *ngIf="item.description" [innerHtml]=item.description></p>
121
                 </div>
122
               </div>
123
            </li>
124
          </ul>
125
      </div>
126
      <helper *ngIf="pageContents && pageContents['bottom'] && pageContents['bottom'].length > 0" [texts]="pageContents['bottom']"></helper>
127
    </div>
128
</div>
(2-2/4)