refs #5934 feat: change icon
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Vicent Llopis 2023-07-18 13:02:42 +02:00
parent b3a7a170f0
commit 3e8775149a
4 changed files with 4 additions and 6 deletions

View File

@ -36,7 +36,7 @@
} }
}, },
"relations": { "relations": {
"user": { "sender": {
"type": "belongsTo", "type": "belongsTo",
"model": "VnUser", "model": "VnUser",
"foreignKey": "senderFk" "foreignKey": "senderFk"

View File

@ -23,7 +23,7 @@
{"state": "client.card.recovery.index", "icon": "icon-recovery"}, {"state": "client.card.recovery.index", "icon": "icon-recovery"},
{"state": "client.card.webAccess", "icon": "cloud"}, {"state": "client.card.webAccess", "icon": "cloud"},
{"state": "client.card.log", "icon": "history"}, {"state": "client.card.log", "icon": "history"},
{"state": "client.card.sms", "icon": "contact_support"}, {"state": "client.card.sms", "icon": "sms"},
{ {
"description": "Credit management", "description": "Credit management",
"icon": "monetization_on", "icon": "monetization_on",

View File

@ -13,7 +13,6 @@
<vn-thead> <vn-thead>
<vn-tr> <vn-tr>
<vn-th field="senderFk">Sender</vn-th> <vn-th field="senderFk">Sender</vn-th>
<vn-th field="sender" number>Number sender</vn-th>
<vn-th field="destination" number>Destination</vn-th> <vn-th field="destination" number>Destination</vn-th>
<vn-th field="message">Message</vn-th> <vn-th field="message">Message</vn-th>
<vn-th field="status">Status</vn-th> <vn-th field="status">Status</vn-th>
@ -24,10 +23,9 @@
<vn-tr ng-repeat="clientSms in clientSmss"> <vn-tr ng-repeat="clientSms in clientSmss">
<vn-td> <vn-td>
<span class="link" ng-click="workerDescriptor.show($event, clientSms.sms.senderFk)"> <span class="link" ng-click="workerDescriptor.show($event, clientSms.sms.senderFk)">
{{::clientSms.sms.user.name}} {{::clientSms.sms.sender.name}}
</span> </span>
</vn-td> </vn-td>
<vn-td number expand>{{::clientSms.sms.sender}}</vn-td>
<vn-td number expand>{{::clientSms.sms.destination}}</vn-td> <vn-td number expand>{{::clientSms.sms.destination}}</vn-td>
<vn-td>{{::clientSms.sms.message}}</vn-td> <vn-td>{{::clientSms.sms.message}}</vn-td>
<vn-td>{{::clientSms.sms.status}}</vn-td> <vn-td>{{::clientSms.sms.status}}</vn-td>

View File

@ -19,7 +19,7 @@ export default class Controller extends Section {
'status', 'status',
'created'], 'created'],
include: { include: {
relation: 'user', relation: 'sender',
scope: { scope: {
fields: ['name'] fields: ['name']
} }