Difference between revisions of "Template:Semorg-hub-second-survey-row"

From SmartHubs
Jump to: navigation, search
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr>
 
<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr>
<td>[[{{{target|}}}|{{{name|}}}]]{{#if:{{{status|}}}
+
<td>[[{{{target|}}}|{{{name|}}}]]{{#if:{{{type|}}}
  |<span class="badge badge-success">data complete</span>
+
  |{{#if:{{{status|}}}
 +
    |{{#if:{{{physical-integration-target-level|}}}
 +
      |{{#if:{{{digital-integration-target-level|}}}
 +
        |{{#if:{{{democratic-integration-target-level|}}}
 +
          |{{#semorg-true:{{{levels-checked|}}}
 +
            |<div><span class="badge badge-success">data complete</span></div>
 +
          }}
 +
        }}
 +
      }}
 +
    }}
 +
  }}
 +
}}{{#semorg-true:{{{levels-checked|}}}
 +
  |
 +
  |<div>{{#formlink:form=semorg-hub-third-survey
 +
    |target={{{target|}}}
 +
    |query string=returnto={{FULLPAGENAMEE}}
 +
    |link text=<span class="badge badge-warning" style="white-space:unset">Please click here to confirm your integration level assessment!</span>
 +
  }}</div>
 
}}</td>  
 
}}</td>  
 
<td><div class="semorg-list-row-details">{{#if:{{{type|}}}
 
<td><div class="semorg-list-row-details">{{#if:{{{type|}}}
Line 13: Line 30:
 
{{{status-text|}}}</div></td>
 
{{{status-text|}}}</div></td>
 
<td><div class="semorg-list-row-details">{{#if:{{{picture|}}}
 
<td><div class="semorg-list-row-details">{{#if:{{{picture|}}}
   |[[{{{picture|}}}|50px]]
+
   |[[{{{picture|}}}|100px]]
  |<span class="badge badge-warning">data missing</span>
 
 
}}</div></td>
 
}}</div></td>
<td><div class="semorg-list-row-details">{{#ifexpr:{{#ask:[[semorg-operator-hub::{{{target}}}]]|format=count}}
+
{{#arraymap:physical,digital,democratic
   |{{#ask:[[semorg-operator-hub::{{{target}}}]]
+
   |,
    |mainlabel=-
+
  |xxx
    |?semorg-operator-name=
+
   |<td>{{#semorg-rating:{{{xxx-integration-level|}}}|max={{{xxx-integration-target-level|}}}}}{{#if:{{{xxx-integration-level|}}}|<div class="semorg-list-row-details mb-2">Level {{{xxx-integration-level|}}}</div>}}{{#if:{{{xxx-integration-target-level|}}}
  }}
+
    |
   |<span class="badge badge-warning">data missing</span>
+
    |<div class="semorg-list-row-details"><span class="badge badge-warning">data missing</span></div>
}}</div></td>
+
}}</td>  
<td>{{#semorg-rating:{{{physical-integration-level|}}}|{{{physical-integration-target-level|}}}}}{{#if:{{{physical-integration-level|}}}|<div class="semorg-list-row-details mb-2">Level {{{physical-integration-level|}}}</div>}}</td>
+
  |
<td>{{#semorg-rating:{{{digital-integration-level|}}}|{{{digital-integration-target-level|}}}}}{{#if:{{{digital-integration-level|}}}|<div class="semorg-list-row-details mb-2">Level {{{digital-integration-level|}}}</div>}}</td>
+
}}
<td>{{#semorg-rating:{{{social-integration-level|}}}|{{{social-integration-target-level|}}}}}{{#if:{{{social-integration-level|}}}|<div class="semorg-list-row-details mb-2">Level {{{social-integration-level|}}}</div>}}</td>  
 
 
{{semorg-showedit
 
{{semorg-showedit
 
   |target={{{target|}}}
 
   |target={{{target|}}}
  |form=semorg-hub-second-survey
 
 
}}
 
}}
 
</tr></includeonly>
 
</tr></includeonly>

Latest revision as of 10:59, 9 February 2023

This page is part of the Semantic Organization extension.