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