Removed hardcoded app context on href links

revert-dabc3590
Rasika Perera 8 years ago
parent 784c2260e4
commit a55e9a53ae

@ -12,7 +12,7 @@
<div class="tile-stats"> <div class="tile-stats">
<span id="device-count" data-device-count="true">Loading...</span> <span id="device-count" data-device-count="true">Loading...</span>
<span class="tile-stats-free"> <span class="tile-stats-free">
<a id="device-count-view-btn" href="/emm/devices"> <a id="device-count-view-btn" href="{{@app.context}}/devices">
<span class="fw-stack"> <span class="fw-stack">
<i class="fw fw-ring fw-stack-2x"></i> <i class="fw fw-ring fw-stack-2x"></i>
<i class="fw fw-view fw-stack-1x"></i> <i class="fw fw-view fw-stack-1x"></i>
@ -41,7 +41,7 @@
<div class="tile-stats"> <div class="tile-stats">
<span id="policy-count" data-policy-count="true">Loading...</span> <span id="policy-count" data-policy-count="true">Loading...</span>
<span class="tile-stats-free"> <span class="tile-stats-free">
<a id="policy-count-view-btn" href="/emm/policies/"> <a id="policy-count-view-btn" href="{{@app.context}}/policies/">
<span class="fw-stack"> <span class="fw-stack">
<i class="fw fw-ring fw-stack-2x"></i> <i class="fw fw-ring fw-stack-2x"></i>
<i class="fw fw-view fw-stack-1x"></i> <i class="fw fw-view fw-stack-1x"></i>
@ -49,7 +49,7 @@
View View
</a> </a>
{{#if permissions.ADD_POLICY}} {{#if permissions.ADD_POLICY}}
<a href="/emm/policy/add"> <a href="{{@app.context}}/policy/add">
<span class="fw-stack"> <span class="fw-stack">
<i class="fw fw-ring fw-stack-2x"></i> <i class="fw fw-ring fw-stack-2x"></i>
<i class="fw fw-add fw-stack-1x"></i> <i class="fw fw-add fw-stack-1x"></i>
@ -72,7 +72,7 @@
<div class="tile-stats"> <div class="tile-stats">
<span id="user-count" data-user-count="true">Loading...</span> <span id="user-count" data-user-count="true">Loading...</span>
<span class="tile-stats-free"> <span class="tile-stats-free">
<a id="user-count-view-btn" href="/emm/users/"> <a id="user-count-view-btn" href="{{@app.context}}/users/">
<span class="fw-stack"> <span class="fw-stack">
<i class="fw fw-ring fw-stack-2x"></i> <i class="fw fw-ring fw-stack-2x"></i>
<i class="fw fw-view fw-stack-1x"></i> <i class="fw fw-view fw-stack-1x"></i>
@ -80,7 +80,7 @@
View View
</a> </a>
{{#if permissions.ADD_USER}} {{#if permissions.ADD_USER}}
<a href="/emm/user/add"> <a href="{{@app.context}}/user/add">
<span class="fw-stack"> <span class="fw-stack">
<i class="fw fw-ring fw-stack-2x"></i> <i class="fw fw-ring fw-stack-2x"></i>
<i class="fw fw-add fw-stack-1x"></i> <i class="fw fw-add fw-stack-1x"></i>
@ -103,7 +103,7 @@
<div class="tile-stats"> <div class="tile-stats">
<span id="role-count" data-role-count="true">Loading...</span> <span id="role-count" data-role-count="true">Loading...</span>
<span class="tile-stats-free"> <span class="tile-stats-free">
<a id="device-count-view-btn" href="/emm/roles"> <a id="device-count-view-btn" href="{{@app.context}}/roles">
<span class="fw-stack"> <span class="fw-stack">
<i class="fw fw-ring fw-stack-2x"></i> <i class="fw fw-ring fw-stack-2x"></i>
<i class="fw fw-view fw-stack-1x"></i> <i class="fw fw-view fw-stack-1x"></i>
@ -111,7 +111,7 @@
View View
</a> </a>
{{#if permissions.ADD_ROLE}} {{#if permissions.ADD_ROLE}}
<a href="/emm/role/add"> <a href="{{@app.context}}/role/add">
<span class="fw-stack"> <span class="fw-stack">
<i class="fw fw-ring fw-stack-2x"></i> <i class="fw fw-ring fw-stack-2x"></i>
<i class="fw fw-add fw-stack-1x"></i> <i class="fw fw-add fw-stack-1x"></i>

Loading…
Cancel
Save