Commits

Sebastian Sdorra committed d9e37f4

added placeholder to commit view

  • Participants
  • Parent commits cbe8037

Comments (0)

Files changed (1)

scm-webapp/src/main/webapp/resources/js/repository/sonia.repository.commitpanel.js

   
   // templates
   templateCommit: '<div class="scm-commit">\n\
-                     <h1>Commit {id}</h1>\n\
                      <div class="left-side">\n\
-                       <p>{description}</p>\n\
-                       <p>\n\
-                         <tpl for="author">\n\
-                           {name}<tpl if="mail"> &lt;<a href="mailto:{mail}">{mail}</a>&gt;</tpl>\n\
-                         </tpl>\n\
-                       </p>\n\
-                       <p>{date:formatTimestamp}</p>\n\
+                       <div class="left-placeholder left-side">\n\\n\
+                         {leftPlaceholder}\n\
+                       </div>\n\
+                       <div class="left-content left-side">\n\
+                        <h1>Commit {id}</h1>\n\
+                        <p>{description}</p>\n\
+                        <p>\n\
+                          <tpl for="author">\n\
+                            {name}<tpl if="mail"> &lt;<a href="mailto:{mail}">{mail}</a>&gt;</tpl>\n\
+                          </tpl>\n\
+                        </p>\n\
+                        <p>{date:formatTimestamp}</p>\n\
+                       </div>\n\
                      </div>\n\
                      <div class="right-side">\n\
                        <div class="changeset-tags">\n\