users list last reg , now can show their profile
This commit is contained in:
@@ -84,15 +84,16 @@
|
||||
<span v-if="col.extrafield">
|
||||
<span class="extrafield">{{ $t(col.extrafield) }}</span>
|
||||
</span>
|
||||
|
||||
<q-btn
|
||||
v-if="col.tipovisu === costanti.TipoVisu.LINK && myvalue"
|
||||
v-if="(col.tipovisu === costanti.TipoVisu.LINK || col.tipovisu === costanti.TipoVisu.NONE) && myvalue"
|
||||
rounded
|
||||
size="md"
|
||||
:class="{ disabled: disable }"
|
||||
color="white"
|
||||
text-color="blue"
|
||||
:icon="`img:` + userStore.getImgUserByUsername(myvalue)"
|
||||
:to="col.link.replace(col.name, myvalue)"
|
||||
:to="col.link ? col.link.replace(col.name, myvalue) : `/my/username`.replace(col.name, myvalue)"
|
||||
:label="myvalue"
|
||||
>
|
||||
</q-btn>
|
||||
@@ -176,7 +177,7 @@
|
||||
color="white"
|
||||
text-color="blue"
|
||||
:icon="`img:` + userStore.getImgUserByUsername(myvalue)"
|
||||
:to="col.link.replace(col.name, myvalue)"
|
||||
:to="col.link ? col.link.replace(col.name, myvalue) : `/my/username`.replace(col.name, myvalue)"
|
||||
:label="myvalue"
|
||||
>
|
||||
</q-btn>
|
||||
|
||||
@@ -347,6 +347,7 @@ export const costanti = {
|
||||
],
|
||||
|
||||
TipoVisu: {
|
||||
NONE: 0,
|
||||
TESTO: 1,
|
||||
LINK: 2,
|
||||
BUTTON: 3,
|
||||
|
||||
@@ -75,7 +75,7 @@ function AddCol(params: IColGridTable) {
|
||||
fieldtype: (params.fieldtype === undefined) ? costanti.FieldType.string : params.fieldtype,
|
||||
fieldtype_real: (params.fieldtype_real === undefined) ? ((params.fieldtype === undefined) ? costanti.FieldType.string : params.fieldtype) : params.fieldtype_real,
|
||||
field_outtype: (params.field_outtype === undefined) ? costanti.FieldType.string : params.field_outtype,
|
||||
tipovisu: (params.tipovisu === undefined) ? costanti.TipoVisu.TESTO : params.tipovisu,
|
||||
tipovisu: (params.tipovisu === undefined) ? costanti.TipoVisu.NONE : params.tipovisu,
|
||||
link: (params.link === undefined) ? '' : params.link,
|
||||
askaction: (params.askaction === undefined) ? '' : params.askaction,
|
||||
tablesel: (params.tablesel === undefined) ? '' : params.tablesel,
|
||||
|
||||
Reference in New Issue
Block a user