Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleaning template code. #2

Merged
merged 1 commit into from
Oct 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 5 additions & 20 deletions src/app/footer/footer.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,35 +11,20 @@
<div class="bottom-footer p-1 d-flex justify-content-center align-items-center text-white">
<div class="content-container">
<p class="m-0">
<!--
<a class="text-white"
href="http://www.dspace.org/">{{ 'footer.link.dspace' | translate}}</a>
{{ 'footer.copyright' | translate:{year: dateObj | date:'y'} }}
<a class="text-white"
href="https://www.lyrasis.org/">{{ 'footer.link.lyrasis' | translate}}</a>
-->
</p>
<ul class="footer-info list-unstyled small d-flex justify-content-center mb-0">
<!--
<li>
<a class="text-white" href="javascript:void(0);"
(click)="showCookieSettings()">{{ 'footer.link.cookies' | translate}}</a>
</li>
-->
<li *ngIf="showPrivacyPolicy">
<a class="text-white"
routerLink="info/privacy">{{ 'footer.link.privacy-policy' | translate}}</a>
<a class="text-white" routerLink="info/privacy">{{ 'footer.link.privacy-policy' | translate}}</a>
</li>
<li *ngIf="showEndUserAgreement">
<a class="text-white"
routerLink="info/end-user-agreement">{{ 'footer.link.end-user-agreement' | translate}}</a>
<a class="text-white" routerLink="info/end-user-agreement">{{ 'footer.link.end-user-agreement' |
translate}}</a>
</li>
<li>
<a class="text-white"
routerLink="info/feedback">{{ 'footer.link.feedback' | translate}}</a>
<a class="text-white" routerLink="info/feedback">{{ 'footer.link.feedback' | translate}}</a>
</li>
</ul>
</div>
</div>
<!-- Copyright -->
</footer>
</footer>
2 changes: 0 additions & 2 deletions src/app/footer/footer.component.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { Component, Optional } from '@angular/core';
import { hasValue } from '../shared/empty.util';
import { KlaroService } from '../shared/cookies/klaro.service';
import { environment } from '../../environments/environment';

@Component({
selector: 'ds-footer',
Expand Down
2 changes: 1 addition & 1 deletion src/assets/i18n/en.json5
Original file line number Diff line number Diff line change
Expand Up @@ -4726,7 +4726,7 @@

"thumbnail.person.placeholder": "No Profile Picture Available",

title: "YorkSpace",
"title": "YorkSpace",

"vocabulary-treeview.header": "Hierarchical tree view",

Expand Down
2 changes: 1 addition & 1 deletion src/assets/i18n/fr.json5
Original file line number Diff line number Diff line change
Expand Up @@ -4016,7 +4016,7 @@

"thumbnail.person.placeholder": "Aucune photo de profil disponible",

title: "YorkSpace",
"title": "YorkSpace",

"vocabulary-treeview.header": "Arborescence hiérarchique",

Expand Down
25 changes: 5 additions & 20 deletions src/themes/yorkspace/app/footer/footer.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,35 +11,20 @@
<div class="bottom-footer p-1 d-flex justify-content-center align-items-center text-white">
<div class="content-container">
<p class="m-0">
<!--
<a class="text-white"
href="http://www.dspace.org/">{{ 'footer.link.dspace' | translate}}</a>
{{ 'footer.copyright' | translate:{year: dateObj | date:'y'} }}
<a class="text-white"
href="https://www.lyrasis.org/">{{ 'footer.link.lyrasis' | translate}}</a>
-->
</p>
<ul class="footer-info list-unstyled small d-flex justify-content-center mb-0">
<!--
<li>
<a class="text-white" href="javascript:void(0);"
(click)="showCookieSettings()">{{ 'footer.link.cookies' | translate}}</a>
</li>
-->
<li *ngIf="showPrivacyPolicy">
<a class="text-white"
routerLink="info/privacy">{{ 'footer.link.privacy-policy' | translate}}</a>
<a class="text-white" routerLink="info/privacy">{{ 'footer.link.privacy-policy' | translate}}</a>
</li>
<li *ngIf="showEndUserAgreement">
<a class="text-white"
routerLink="info/end-user-agreement">{{ 'footer.link.end-user-agreement' | translate}}</a>
<a class="text-white" routerLink="info/end-user-agreement">{{ 'footer.link.end-user-agreement' |
translate}}</a>
</li>
<li>
<a class="text-white"
routerLink="info/feedback">{{ 'footer.link.feedback' | translate}}</a>
<a class="text-white" routerLink="info/feedback">{{ 'footer.link.feedback' | translate}}</a>
</li>
</ul>
</div>
</div>
<!-- Copyright -->
</footer>
</footer>
2 changes: 1 addition & 1 deletion src/themes/yorkspace/assets/i18n/en.json5
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"yorkspace.home.description.part1": "YorkSpace is York University's Institutional Repository. It supports",

"yorkspace.home.description.part2": "by providing York community members with a place to preserve their research online in an institutional context.",

"yorkspace.home.yorku-senate-policy-open-access-url": "https://www.library.yorku.ca/web/research-learn/research/oapublishing/york-university-senate-policy-on-open-access/",

"yorkspace.home.yorku-senate-policy-open-access": "York University's Senate Policy on Open Access",
Expand Down
2 changes: 1 addition & 1 deletion src/themes/yorkspace/assets/i18n/fr.json5
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"yorkspace.home.description.part1": "YorkSpace est le Dépôt institutionnel de l'Université York. Il soutient la",

"yorkspace.home.description.part2": "en offrant aux membres de la communauté de York un espace pour préserver leurs recherches en ligne dans un contexte institutionnel.",

"yorkspace.home.yorku-senate-policy-open-access-url": "https://www.library.yorku.ca/web/research-learn/research/oapublishing/york-university-senate-policy-on-open-access/",

"yorkspace.home.yorku-senate-policy-open-access": "Politique du Sénat de l'Université York sur l'accès libre",
Expand Down
Loading