Commits

Don Brown committed bc59482

ARA-26 Add confluence breadcrumbs for all pages

Change-Id: Icb9421da6f986ca6edc83237d711fd8b18ae6642

  • Participants
  • Parent commits 3fad0e3

Comments (0)

Files changed (3)

File plugin/src/main/java/com/atlassian/labs/remoteapps/modules/page/ProfilePageModuleGenerator.java

     @Override
     protected String getTemplateSuffix()
     {
-        return "-profile";
+        return "";
     }
 }

File plugin/src/main/resources/velocity/iframe-page-profile.vm

-<html>
-<head>
-    <!-- Confluence breadcrumbs, TODO: invent a better way of doing this -->
-    <content tag="breadcrumbs">
-        <ol id="breadcrumbs">
-            <li class="first" ><span><a href="$contextPath/dashboard.action">Dashboard</a></span></li>
-            <li><span>$!title</span></li>
-        </ol>
-    </content>
-
-    <meta name="tab" content="$!title"/>
-    <title>$!title</title>
-
-    <meta name="decorator" content="$decorator"></meta>
-
-
-</head>
-
-<body>
-     $iframeHtml
-</body>
-</html>

File plugin/src/main/resources/velocity/iframe-page.vm

 <html>
 <head>
     <title>$!title</title>
-
+    <!-- Confluence breadcrumbs, TODO: invent a better way of doing this -->
+    <content tag="breadcrumbs">
+      <ol id="breadcrumbs">
+        <li class="first" ><span><a href="$contextPath/dashboard.action">Dashboard</a></span></li>
+        <li><span>$!title</span></li>
+      </ol>
+    </content>
+    <meta name="tab" content="$!title"/>
     <meta name="decorator" content="$decorator"></meta>