Remove ng-class-odd and ng-class-even directives

This commit is contained in:
Marliana Lara 2017-04-25 16:22:18 -04:00
parent 59ff065a65
commit 79791a4fbc
4 changed files with 0 additions and 10 deletions

View File

@ -80,10 +80,6 @@ table, tbody {
padding-left: 10px;
}
.List-tableRow--evenRow {
background-color: @list-alt-item-bg;
}
.List-tableCell {
padding-left: 15px;
padding-right: 15px;

View File

@ -21,8 +21,6 @@
</th>
</tr>
<tr class="List-tableRow"
ng-class-odd="'List-tableRow--oddRow'"
ng-class-even="'List-tableRow--evenRow'"
ng-repeat = "template in templates">
<td class="DashboardList-nameCell">
<a ng-href="#/templates/{{template.type}}/{{template.id}}" class="DashboardList-nameContainer">

View File

@ -1928,8 +1928,6 @@ angular.module('FormGenerator', [GeneratorHelpers.name, 'Utilities', listGenerat
html += "<tbody>\n";
html += "<tr class=\"List-tableRow\" ng-repeat=\"" + collection.iterator + " in " + itm + "\" ";
html += "ng-class-odd=\"'List-tableRow--oddRow'\" ";
html += "ng-class-even=\"'List-tableRow--evenRow'\" ";
html += "id=\"{{ " + collection.iterator + ".id }}\">\n";
if (collection.index === undefined || collection.index !== false) {
html += "<td class=\"List-tableCell";

View File

@ -294,8 +294,6 @@ export default ['$compile', 'Attr', 'Icon',
innerTable += "]\" ";
innerTable += "id=\"{{ " + list.iterator + ".id }}\" ";
innerTable += "class=\"List-tableRow " + list.iterator + "_class\" ";
// innerTable += "ng-class-odd=\"'List-tableRow--oddRow'\" ";
// innerTable += "ng-class-even=\"'List-tableRow--evenRow'\" ";
innerTable += "ng-repeat=\"" + list.iterator + " in " + list.name;
innerTable += (list.trackBy) ? " track by " + list.trackBy : "";
innerTable += (list.orderBy) ? " | orderBy:'" + list.orderBy + "'" : "";