| 53 | | |
| 54 | | <mt:if name="errors"> |
| 55 | | <span class="alert-erroricon-left icon-error"><__trans phrase="Failed"></span> |
| 56 | | </mt:if> |
| 57 | | |
| 58 | | <mt:if name="warnings"> |
| 59 | | <span class="alert-warning icon-left icon-warning"><a href="#" class="theme-detail-link"><__trans phrase="[quant,_1,warning,warnings]" params="<mt:var name="warning_count">"></a></span> |
| 60 | | </mt:if> |
| 61 | | |
| | 53 | <mt:unless name="current"> |
| | 54 | <mt:if name="errors"> |
| | 55 | <span class="alert-erroricon-left icon-error"><__trans phrase="Failed"></span> |
| | 56 | </mt:if> |
| | 57 | |
| | 58 | <mt:if name="warnings"> |
| | 59 | <span class="alert-warning icon-left icon-warning"><a href="#" class="theme-detail-link"><__trans phrase="[quant,_1,warning,warnings]" params="<mt:var name="warning_count">"></a></span> |
| | 60 | </mt:if> |
| | 61 | </mt:unless> |
| 134 | | <mt:if name="errors"> |
| 135 | | <div id="theme-<mt:var name="id">-errors" class="theme-errors theme-info"> |
| 136 | | <h4><__trans phrase="Theme Errors"></h4> |
| 137 | | <mtapp:statusmsg |
| 138 | | id="saved-added" |
| 139 | | class="error" |
| 140 | | can_close="0"> |
| 141 | | <p><__trans phrase="This theme cannot be applied to the website due to [_1] errors" params="<mt:var name="error_count">"></p> |
| 142 | | </mtapp:statusmsg> |
| 143 | | <ul> |
| 144 | | <mt:loop name="errors"> |
| 145 | | <li><mt:var name="__value__"></li> |
| 146 | | </mt:loop> |
| 147 | | </ul> |
| 148 | | </div> |
| 149 | | </mt:if> |
| 150 | | |
| 151 | | <mt:if name="warnings"> |
| 152 | | <div id="theme-<mt:var name="id">-warnings" class="theme-warnings theme-info"> |
| 153 | | <h4><__trans phrase="Theme Warnings"></h4> |
| 154 | | <mtapp:statusmsg |
| 155 | | id="saved-added" |
| 156 | | class="alert" |
| 157 | | can_close="0"> |
| 158 | | <p><__trans phrase="Portions of this theme cannot be applied to the website. [_1] elements will be skipped." params="<mt:var name="warning_count">"></p> |
| 159 | | </mtapp:statusmsg> |
| 160 | | <ul> |
| 161 | | <mt:loop name="warnings"> |
| 162 | | <li><mt:var name="__value__"></li> |
| 163 | | </mt:loop> |
| 164 | | </ul> |
| 165 | | </div> |
| 166 | | </mt:if> |
| | 137 | <mt:unless name="current"> |
| | 138 | <mt:if name="errors"> |
| | 139 | <div id="theme-<mt:var name="id">-errors" class="theme-errors theme-info"> |
| | 140 | <h4><__trans phrase="Theme Errors"></h4> |
| | 141 | <mtapp:statusmsg |
| | 142 | id="saved-added" |
| | 143 | class="error" |
| | 144 | can_close="0"> |
| | 145 | <p><__trans phrase="This theme cannot be applied to the website due to [_1] errors" params="<mt:var name="error_count">"></p> |
| | 146 | </mtapp:statusmsg> |
| | 147 | <ul> |
| | 148 | <mt:loop name="errors"> |
| | 149 | <li><mt:var name="__value__"></li> |
| | 150 | </mt:loop> |
| | 151 | </ul> |
| | 152 | </div> |
| | 153 | </mt:if> |
| | 154 | |
| | 155 | <mt:if name="warnings"> |
| | 156 | <div id="theme-<mt:var name="id">-warnings" class="theme-warnings theme-info"> |
| | 157 | <h4><__trans phrase="Theme Warnings"></h4> |
| | 158 | <mtapp:statusmsg |
| | 159 | id="saved-added" |
| | 160 | class="alert" |
| | 161 | can_close="0"> |
| | 162 | <p><__trans phrase="Portions of this theme cannot be applied to the website. [_1] elements will be skipped." params="<mt:var name="warning_count">"></p> |
| | 163 | </mtapp:statusmsg> |
| | 164 | <ul> |
| | 165 | <mt:loop name="warnings"> |
| | 166 | <li><mt:var name="__value__"></li> |
| | 167 | </mt:loop> |
| | 168 | </ul> |
| | 169 | </div> |
| | 170 | </mt:if> |
| | 171 | </mt:unless> |