Add button to help to translate peertube

pull/1462/head
Chocobozzz 2018-12-05 10:53:14 +01:00
parent d7aea77bdb
commit 9c53ef67e3
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 11 additions and 1 deletions

View File

@ -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>

View File

@ -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;
} }
} }