]> source.dussan.org Git - archiva.git/commitdiff
mark lines in red when modified
authorOlivier Lamy <olamy@apache.org>
Mon, 30 Jan 2012 23:49:06 +0000 (23:49 +0000)
committerOlivier Lamy <olamy@apache.org>
Mon, 30 Jan 2012 23:49:06 +0000 (23:49 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1238093 13f79535-47bb-0310-9956-ffa450edef68

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

index b20ce116e88a8b1cb2dc32f578af1209f6d3f48e..1401a53144727b83650acabd3fadb9f72478c8be 100644 (file)
     </thead>
     <tbody>
     {{each(i, row) itemsOnCurrentPage()}}
-    <tr>
+      <tr>
         {{each(j, columnDefinition) columns}}
         {{var val = (typeof columnDefinition.rowText == 'function' ? columnDefinition.rowText(row) :
         row[columnDefinition.rowText])}}
         <td>
-            ${val}
+          <div data-bind="style: { color: modified() ? '#ee5f5b' : '' }">${val}</div>
         </td>
         {{/each}}
         {{if row.password()}}