Zuletzt bearbeitet vor einer Woche
von Anonymer Benutzer

Site:QMDashboard: Unterschied zwischen den Versionen

Meryam Sahin (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Autogenerated
 
(2 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 2: Zeile 2:
{| style="width:100%"
{| style="width:100%"
|-
|-
| {{#tag:kpitile||value={{#neowiki_ask:
| style="vertical-align:middle;text-align:center;" | <neowiki_report format="kpitile" format-params='{"max":1,"label":"{{int:bs-qmdashboard-tile-expiring-soon}}","color-thresholds":"0:green|1:yellow|10:red","link":"{{canonicalurl:Special:QMDashboard|view=expiring-soon}}"}'>
  [[Schema:Document control]]
{
  [[Document control.Valid until::>{{#time:Y-m-d}}]]
"hasSubjects": [ "Document control" ],
  [[Document control.Valid until::<={{#time:Y-m-d|+14 days}}]]
"conditions": [
| format=count
{ "property": "Document control>>Review date", "operator": ">", "value": "{{#time:Y-m-d}}" },
}}|max=1|label={{int:bs-qmdashboard-tile-expiring-soon}}|color-thresholds=0:green{{!}}1:yellow{{!}}10:red|link={{canonicalurl:Special:QMDashboard|view=expiring-soon}}}}
{ "property": "Document control>>Review date", "operator": "<=", "value": "{{#time:Y-m-d|+14 days}}" }
| {{#tag:kpitile||value={{#neowiki_ask:
]
  [[Schema:Document control]]
}
  [[Document control.Owner::!+]]
</neowiki_report>
| format=count
| style="vertical-align:middle;text-align:center;" | <neowiki_report format="kpitile" format-params='{"max":1,"label":"{{int:bs-qmdashboard-tile-without-owner}}","color-thresholds":"0:green|1:red","link":"{{canonicalurl:Special:QMDashboard|view=without-owner}}"}'>
}}|max=1|label={{int:bs-qmdashboard-tile-without-owner}}|color-thresholds=0:green{{!}}1:red|link={{canonicalurl:Special:QMDashboard|view=without-owner}}}}
{
| {{#tag:kpitile||value={{#neowiki_ask:
"hasSubjects": [ "Document control" ],
  [[Schema:Document control]]
"conditions": [
  [[Document control.Valid until::!+]]
{ "property": "Document control>>Owner>>Assigned person", "operator": "IS NULL", "value": "" }
| format=count
]
}}|max=1|label={{int:bs-qmdashboard-tile-without-validity-date}}|color-thresholds=0:green{{!}}1:red|link={{canonicalurl:Special:QMDashboard|view=without-validity-date}}}}
}
| {{#tag:kpitile||value={{#neowiki_ask:
</neowiki_report>
  [[Schema:Document control]]
| style="vertical-align:middle;text-align:center;" | <neowiki_report format="kpitile" format-params='{"max":1,"label":"{{int:bs-qmdashboard-tile-without-approval}}","color-thresholds":"0:green|1:red","link":"{{canonicalurl:Special:QMDashboard|view=without-approval}}"}'>
  [[qm_state_raw::first-unstable]]
{
| format=count
"hasSubjects": [ "Document control" ],
}}|max=1|label={{int:bs-qmdashboard-tile-without-approval}}|color-thresholds=0:green{{!}}1:red|link={{canonicalurl:Special:QMDashboard|view=without-approval}}}}
"conditions": [
| {{#tag:kpitile||value={{#neowiki_ask:
{ "property": "qm_state_raw", "operator": "=", "value": "first-unstable" }
  [[Schema:Document control]]
]
  [[Document control.Valid until::<={{#time:Y-m-d}}]]
}
| format=count
</neowiki_report>
}}|max=1|label={{int:bs-qmdashboard-tile-expired}}|color-thresholds=0:green{{!}}1:red|link={{canonicalurl:Special:QMDashboard|view=expired}}}}
|}
|}


{{#neowiki_ask:
<neowiki_report format="grid">{
  [[Schema:Document control]]
"properties": {
| ?Document control.Document ID = Document ID
"Document control>>Document ID": "{{int:bs-qmdashboard-column-document-id}}",
| ?Document control.Document type = Document type
"Document control>>Owner>>Assigned person": "{{int:bs-qmdashboard-column-document-owner}}",
| ?Document control.Owner = Document owner
"qm_state": "{{int:bs-qmdashboard-column-approval-state}}",
| ?qm_state = Approval state
"qm_has_draft": "{{int:bs-qmdashboard-column-has-draft}}",
| ?qm_has_draft = Has draft
"read_confirmation/progress": "{{int:bs-qmdashboard-column-read-confirmations}}",
| ?read_confirmation/pending_count = Pending read confirmations
"workflows/count": "{{int:bs-qmdashboard-column-active-workflows}}"
| ?workflows/count = Number of running workflows
},
| ?Document control.Valid until = Valid until
"sort": [
| format = grid
{
| mainlabel = Document name
"property": "Document control>>Review date",
| sort = Document control.Valid until
"direction": "ASC"
| order = asc
}
}}
],
"hasSubjects": [
"Document control"
],
"mainLabel": "{{int:bs-qmdashboard-column-document-name}}",
"pageDisplayFormat": "text",
"showPageLink": true
}</neowiki_report>
</div>
</div>

Aktuelle Version vom 16. November 2026, 10:40 Uhr