Add button to help to translate peertube
This commit is contained in:
parent
d7aea77bdb
commit
9c53ef67e3
2 changed files with 11 additions and 1 deletions
|
@ -4,6 +4,11 @@
|
||||||
<span class="close" aria-label="Close" role="button" (click)="hide()"></span>
|
<span class="close" aria-label="Close" role="button" (click)="hide()"></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<a i18n class="help-to-translate" target="_blank" rel="noreferrer noopener" href="https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/translation.md">
|
||||||
|
Help to translate PeerTube!
|
||||||
|
</a>
|
||||||
|
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<a *ngFor="let lang of languages" [href]="buildLanguageLink(lang)">{{ lang.label }}</a>
|
<a *ngFor="let lang of languages" [href]="buildLanguageLink(lang)">{{ lang.label }}</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,6 +1,11 @@
|
||||||
@import '_variables';
|
@import '_variables';
|
||||||
@import '_mixins';
|
@import '_mixins';
|
||||||
|
|
||||||
|
.help-to-translate {
|
||||||
|
@include peertube-button-link;
|
||||||
|
@include orange-button;
|
||||||
|
}
|
||||||
|
|
||||||
.modal-body {
|
.modal-body {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
|
@ -9,4 +14,4 @@
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
margin: 15px;
|
margin: 15px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue