1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-01-04 18:37:45 +01:00

show refunded status

This commit is contained in:
Kyle Spearrin 2018-07-20 17:20:41 -04:00
parent fe1c5b4b38
commit 93cec9a2d6
4 changed files with 9 additions and 2 deletions

View File

@ -180,7 +180,7 @@
<td>{{c.createdDate | date:'mediumDate'}}</td> <td>{{c.createdDate | date:'mediumDate'}}</td>
<td>{{c.paymentSource ? c.paymentSource.description : '-'}}</td> <td>{{c.paymentSource ? c.paymentSource.description : '-'}}</td>
<td class="text-capitalize">{{c.status}}</td> <td class="text-capitalize">{{c.status}}</td>
<td>{{c.amount | currency:'$'}}</td> <td [ngClass]="{'text-strike':c.refunded}" title="{{(c.refunded ? 'refunded' : '') | i18n}}">{{c.amount | currency:'$'}}</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View File

@ -125,7 +125,7 @@
<td>{{c.createdDate | date:'mediumDate'}}</td> <td>{{c.createdDate | date:'mediumDate'}}</td>
<td>{{c.paymentSource ? c.paymentSource.description : '-'}}</td> <td>{{c.paymentSource ? c.paymentSource.description : '-'}}</td>
<td class="text-capitalize">{{c.status}}</td> <td class="text-capitalize">{{c.status}}</td>
<td>{{c.amount | currency:'$'}}</td> <td [ngClass]="{'text-strike':c.refunded}" title="{{(c.refunded ? 'refunded' : '') | i18n}}">{{c.amount | currency:'$'}}</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View File

@ -2331,5 +2331,8 @@
}, },
"createOrganizationCreatePersonalAccount": { "createOrganizationCreatePersonalAccount": {
"message": "Before creating your organization, you first need to create a free personal account." "message": "Before creating your organization, you first need to create a free personal account."
},
"refunded": {
"message": "Refunded"
} }
} }

View File

@ -372,6 +372,10 @@ label:not(.form-check-label):not(.btn) {
font-size: $font-size-lg; font-size: $font-size-lg;
} }
.text-strike {
text-decoration: line-through;
}
app-vault-groupings, app-org-vault-groupings { app-vault-groupings, app-org-vault-groupings {
.card { .card {
#search { #search {