]> source.dussan.org Git - archiva.git/commitdiff
format html
authorOlivier Lamy <olamy@apache.org>
Mon, 5 Mar 2012 08:45:04 +0000 (08:45 +0000)
committerOlivier Lamy <olamy@apache.org>
Mon, 5 Mar 2012 08:45:04 +0000 (08:45 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1296964 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/search.html

index eca45d90baebbc411565463f4b060c80a48dde88..c55651366305a894f45f543c55890dfe9d99356a 100644 (file)
 <script id="browse-artifact-tmpl" type="text/html">
   <div class="row-fluid">
     <div class="span6">
-    <div class="page-header">
-      <h4>${$.i18n.prop('browse.artifact.display.artifactInfo')}</h4>
-    </div>
-    <div id="artifact-info" class="alert alert-info">
-      <table class="table table-condensed">
-        <tbody>
-          <tr>
-            <th>${$.i18n.prop('browse.artifact.groupId')}</th>
-            <td>${groupId}</td>
-          </tr>
-          <tr>
-            <th>${$.i18n.prop('browse.artifact.artifactId')}</th>
-            <td>${artifactId}</td>
-          </tr>
-          <tr>
-            <th>${$.i18n.prop('browse.artifact.name')}</th>
-            <td>${projectVersionMetadata.name}</td>
-          </tr>
-          <tr>
-            <th>${$.i18n.prop('browse.artifact.description')}</th>
-            <td>${projectVersionMetadata.description}</td>
-          </tr>
-          {{if projectVersionMetadata.organization}}
-          <tr>
-            <th>${$.i18n.prop('browse.artifact.organization.name')}</th>
-            {{if projectVersionMetadata.organization.url}}
+      <div class="page-header">
+        <h4>${$.i18n.prop('browse.artifact.display.artifactInfo')}</h4>
+      </div>
+      <div id="artifact-info" class="alert alert-info">
+        <table class="table table-condensed">
+          <tbody>
+            <tr>
+              <th>${$.i18n.prop('browse.artifact.groupId')}</th>
+              <td>${groupId}</td>
+            </tr>
+            <tr>
+              <th>${$.i18n.prop('browse.artifact.artifactId')}</th>
+              <td>${artifactId}</td>
+            </tr>
+            <tr>
+              <th>${$.i18n.prop('browse.artifact.name')}</th>
+              <td>${projectVersionMetadata.name}</td>
+            </tr>
+            <tr>
+              <th>${$.i18n.prop('browse.artifact.description')}</th>
+              <td>${projectVersionMetadata.description}</td>
+            </tr>
+            {{if projectVersionMetadata.organization}}
+            <tr>
+              <th>${$.i18n.prop('browse.artifact.organization.name')}</th>
+              {{if projectVersionMetadata.organization.url}}
+                <td>
+                  <a href="${projectVersionMetadata.organization.url}" target="_blank">
+                    <img src="images/internet-web-browser.png" alt=""/>${projectVersionMetadata.organization.name}
+                  </a>
+                </td>
+              {{else}}
+                <td>${projectVersionMetadata.organization.name}</td>
+              {{/if}}
+            </tr>
+            {{/if}}
+            {{if projectVersionMetadata.issueManagement}}
+            <tr>
+              <th>${$.i18n.prop('browse.artifact.organization.issueManagement')}</th>
               <td>
-                <a href="${projectVersionMetadata.organization.url}" target="_blank">
-                  <img src="images/internet-web-browser.png" alt=""/>${projectVersionMetadata.organization.name}
+                <a href="${projectVersionMetadata.issueManagement.url}" target="_blank">
+                  <img src="images/internet-web-browser.png" alt=""/>${projectVersionMetadata.issueManagement.system}
                 </a>
               </td>
-            {{else}}
-              <td>${projectVersionMetadata.organization.name}</td>
+            </tr>
             {{/if}}
-          </tr>
-          {{/if}}
-          {{if projectVersionMetadata.issueManagement}}
-          <tr>
-            <th>${$.i18n.prop('browse.artifact.organization.issueManagement')}</th>
-            <td>
-              <a href="${projectVersionMetadata.issueManagement.url}" target="_blank">
-                <img src="images/internet-web-browser.png" alt=""/>${projectVersionMetadata.issueManagement.system}
-              </a>
-            </td>
-          </tr>
-          {{/if}}
-        </tbody>
-      </table>
-    </div>
+          </tbody>
+        </table>
+      </div>
     </div>
     <div class="span4">
-    <div class="page-header">
-      <h4>${$.i18n.prop('browse.artifact.versions')}</h4>
-    </div>
-    <div class="alert alert-success">
-      <table class="table table-condensed">
-      {{each(i,version) versions}}
-        <tr><th>${version}</th></tr>
-      {{/each}}
-      </table>
-    </div>
+      <div class="page-header">
+        <h4>${$.i18n.prop('browse.artifact.versions')}</h4>
+      </div>
+      <div class="alert alert-success">
+        <table class="table table-condensed">
+        {{each(i,version) versions}}
+          <tr><th>${version}</th></tr>
+        {{/each}}
+        </table>
+      </div>
     </div>
   </div>
 </script>