+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <%=encodeHtml(dashboard.title)%>
+
+ <%= user ? user.username : "anon" %>
+
+
+
+
+
+ -
+
-
+
+
+
+
+ 4
+
+ ++
-
+
-
+
Minor Information Message
+Alerts don't have default classes, only base and modifier classes.
+
+ -
+
Minor Information Message
+Alerts don't have default classes, only base and modifier classes.
+
+ -
+
Major Information Message
+Alerts don't have default classes, only base and modifier classes.
+
+ -
+
Critical Information Message
+Alerts don't have default classes, only base and modifier classes.
+
+
+ -
+
+
+ +
+
+ -
+ <% if (pages.length > 1) {
+ // render links
+ pages.forEach(function (p) {
+ if (isAnonView || !user) {
+ if (p.isanon) {
+ // Anonymous viewing. So render only anonymous pages links.
+ renderPageLink(p);
+ }
+ } else {
+ renderPageLink(p);
+ }
+ });
+ }
+
+ function renderPageLink(p) {
+ var queryString = isAnonView ? '?isAnonView=true' : '';
+ %>
+
- <%=encodeHtml(p.title)%> + <% } %> +
+ +
-
+ <% if (user) { %>
+ <% if (!isAnonView && (urlDomain == user.domain || (user.domain == superDomain && (!urlDomain || urlDomain == superDomain)))) { %>
+ <% if (user.isEditor) { %>
+
- ">Dashboard Settings + <% } else { %> +
- ">Customize Dashboard + <% } %> + <% } %> +
- <%= i18n.localize("logout.label")%> + <% } else { %> +
- <%= i18n.localize("login.label")%> + <% } %> +
+
+
+
+
+
+
+
+ <%=renderEngine.getDashboardContent(pageId || dashboard.landing, isAnonView)%>
+
+