Explorar o código

fix backend_template for nginx

Anton Reutov %!s(int64=4) %!d(string=hai) anos
pai
achega
0403b0c4a3
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      web/templates/admin/list_packages.html

+ 8 - 0
web/templates/admin/list_packages.html

@@ -137,6 +137,14 @@ sort-star="<?if($_SESSION['favourites']['PACKAGE'][$key] == 1) echo '1'; else ec
                       <b><?=$data[$key]['PROXY_TEMPLATE']?></b>
                     </div>
                   </div>
+                  <? } ?>
+                     <? if (!empty($_SESSION['WEB_BACKEND'])) { ?>
+                  <div class="l-unit__stat-cols clearfix">
+                    <div class="l-unit__stat-col l-unit__stat-col--left"><?=__('Backend Template')?>:</div>
+                    <div class="l-unit__stat-col l-unit__stat-col--right">
+                      <b><?=$data[$key]['BACKEND_TEMPLATE']?></b>
+                    </div>
+                  </div>
                   <? } ?>
                 </td>
                 <td>