Updating emm dashboard role links

merge-requests/1/head
dilanua 8 years ago
parent acf61522f0
commit 2472a12939

@ -1,3 +1,21 @@
{{!
Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
WSO2 Inc. licenses this file to you under the Apache License,
Version 2.0 (the "License"); you may not use this file except
in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
}}
{{unit "cdmf.unit.lib.qrcode"}}
{{unit "mdm.unit.device.qr-modal"}}
{{#zone "content"}}
@ -12,6 +30,7 @@
<div class="tile-stats">
<span id="device-count" data-device-count="true">Loading...</span>
<span class="tile-stats-free">
<!--suppress HtmlUnknownTarget -->
<a id="device-count-view-btn" href="{{@app.context}}/devices">
<span class="fw-stack">
<i class="fw fw-ring fw-stack-2x"></i>
@ -41,6 +60,7 @@
<div class="tile-stats">
<span id="policy-count" data-policy-count="true">Loading...</span>
<span class="tile-stats-free">
<!--suppress HtmlUnknownTarget -->
<a id="policy-count-view-btn" href="{{@app.context}}/policies/">
<span class="fw-stack">
<i class="fw fw-ring fw-stack-2x"></i>
@ -48,6 +68,7 @@
</span>
View
</a>
<!--suppress HtmlUnknownTarget -->
{{#if permissions.ADD_POLICY}}
<a href="{{@app.context}}/policy/add">
<span class="fw-stack">
@ -72,6 +93,7 @@
<div class="tile-stats">
<span id="user-count" data-user-count="true">Loading...</span>
<span class="tile-stats-free">
<!--suppress HtmlUnknownTarget -->
<a id="user-count-view-btn" href="{{@app.context}}/users/">
<span class="fw-stack">
<i class="fw fw-ring fw-stack-2x"></i>
@ -79,6 +101,7 @@
</span>
View
</a>
<!--suppress HtmlUnknownTarget -->
{{#if permissions.ADD_USER}}
<a href="{{@app.context}}/user/add">
<span class="fw-stack">
@ -103,6 +126,7 @@
<div class="tile-stats">
<span id="role-count" data-role-count="true">Loading...</span>
<span class="tile-stats-free">
<!--suppress HtmlUnknownTarget -->
<a id="device-count-view-btn" href="{{@app.context}}/roles">
<span class="fw-stack">
<i class="fw fw-ring fw-stack-2x"></i>
@ -111,6 +135,7 @@
View
</a>
{{#if permissions.ADD_ROLE}}
<!--suppress HtmlUnknownTarget -->
<a href="{{@app.context}}/role/add">
<span class="fw-stack">
<i class="fw fw-ring fw-stack-2x"></i>

Loading…
Cancel
Save