Skip to content
Snippets Groups Projects
Commit cf4d2f11 authored by ncastejon's avatar ncastejon
Browse files

Fix display for long data value in the datatable. Fix some wordings

parent aae00a4b
No related branches found
No related tags found
1 merge request!45Version 2.1.9
......@@ -10,6 +10,8 @@
<div class="column" *ngSwitchCase="'array'">
<app-data-properties [object]="object[key]"></app-data-properties>
</div>
<div class="column" *ngSwitchDefault><span>{{ object[key] ? object[key] : '-'}}</span></div>
<div class="column" *ngSwitchDefault>
<span class="value-data">{{ object[key] ? object[key] : '-'}}</span>
</div>
</ng-container>
</div>
\ No newline at end of file
......@@ -27,6 +27,10 @@
}
}
.value-data {
white-space: pre-line;
}
app-data-properties {
.columns {
......
......@@ -159,14 +159,14 @@
</div>
</div>
<div class="column is-12 has-text-right">
<div class="column is-12 action-profile">
<button type="button" class="button btn-red-text" i18n="@@userProfil.deleteAccount"
[disabled]="userAccountDeletionRequestIsPending" (click)="openDeleteAccountModal()">Delete
my account</button>
<button type="submit" class="button button-gl" [ngClass]="{'is-loading': userInfoUpdateRequestIsPending}"
i18n="@@userProfil.updateProfil"
[disabled]="userInfoUpdateFormIsInvalid || userInfoUpdateFormDisabled || !userInfoUpdateForm.dirty">Update
your profil</button>
my profil</button>
</div>
</div>
</form>
......
@import '../../../../../../node_modules/bulma/sass/utilities/_all.sass';
.btn-red-text {
margin-right: 1.25rem;
}
......@@ -29,3 +31,22 @@
.is-checkradio[type="checkbox"] + label::after {
top: unset;
}
.action-profile {
text-align: center;
button:first-of-type {
margin-bottom: 0.5rem;
}
.btn-red-text {
margin-right: unset;
}
@media screen and (min-width: $tablet) {
text-align: right;
.btn-red-text {
margin-right: 1.5rem;
}
}
}
......@@ -5,7 +5,7 @@
style="enable-background:new 0 0 548 48.1;" xml:space="preserve">
<style type="text/css">
.Style_x0020_graphique_x0020_2{fill:#FFFFFF;}
.Style_x0020_graphique{fill:#E93232;}
.Style_x0020_graphique{fill:#da322f;}
</style>
<title>logo_data_alpha_mini</title>
<path class="Style_x0020_graphique" d="M464.1,0h61c12.6,0,22.8,10.2,22.9,22.8l0,0c-0.1,12.6-10.3,22.8-22.9,22.9h-61
......
......@@ -913,8 +913,8 @@
<target>Renew access</target>
</trans-unit>
<trans-unit id="userProfil.updateProfil" datatype="html">
<source>Update your profil</source>
<target>Update your profil</target>
<source>Update my profil</source>
<target>Update my profil</target>
</trans-unit>
<trans-unit id="userProfil.userAccountDeletionConfirmationQuestion" datatype="html">
<source>Are you sure you want to delete your account?</source>
......
......@@ -920,8 +920,8 @@ La création d'un compte est gratuite et sans engagement. La désinscription est
<target>Renouveler l'accès</target>
</trans-unit>
<trans-unit id="userProfil.updateProfil" datatype="html">
<source>Update your profil</source>
<target>Modifier son profil</target>
<source>Update my profil</source>
<target>Modifier mon profil</target>
</trans-unit>
<trans-unit id="userProfil.userAccountDeletionConfirmationQuestion" datatype="html">
<source>Are you sure you want to delete your account?</source>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment