Commit c5026e23 authored by anton's avatar anton

Allow styles for title, tags and annotation columns

parent 45ee886c
Pipeline #51044 passed with stage
in 7 minutes and 53 seconds
......@@ -25,24 +25,24 @@
template(slot="top-left", slot-scope="props")
slot(name="buttons-left")
q-td(slot="body-cell-title", slot-scope="props", :props="props")
q-td(slot="body-cell-title", slot-scope="props", :props="props", :style="props.col.style")
template(v-if="customTitleLink")
q-btn( type="a", color="primary", :to="getCustomLink(customTitleLink, props.row._uuid)", flat)
router-link(:to="getCustomLink(customTitleLink, props.row._uuid)")
promise-span(:value="props.value")
template(v-else)
q-btn(v-if="hasShow", type="a", color="primary", :to="getViewLink(props.row._uuid)", flat)
router-link(v-if="hasShow", :to="getViewLink(props.row._uuid)")
promise-span(:value="props.value")
promise-span(v-if="!hasShow", :value="props.value")
q-td(slot="body-cell-tags", slot-scope="props", :props="props")
q-td(slot="body-cell-tags", slot-scope="props", :props="props", :style="props.col.style")
promise-span(:value="props.value")
q-td(slot="body-cell-start", slot-scope="props", :props="props")
.q-pa-sm.text-grey-6.bg-dark(@click="start(props.value)", style="cursor: pointer;")
| {{ returnDatetime(props.value) }}
q-td(slot="body-cell-annotation", slot-scope="props", :props="props")
q-td(slot="body-cell-annotation", slot-scope="props", :props="props", :style="props.col.style")
editable-table-data(:data="props", :key="props")
q-td(slot="body-cell-actions", slot-scope="props", :props="props")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment