Procházet zdrojové kódy

Hide system added filemanager.ssh.key from SSH Keys list

Kristan Kenney před 5 roky
rodič
revize
9244e6202c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      web/templates/pages/list_key.html

+ 1 - 1
web/templates/pages/list_key.html

@@ -25,7 +25,7 @@
     foreach ($data as $key => $value) {
     ++$i;
   ?>
-  <div class="l-unit header animated fadeIn">
+  <div class="l-unit header animated fadeIn" style="<?if ($data[$key]['ID'] === 'filemanager.ssh.key'){ echo 'display: none;'; }?>">
     <div class="l-unit__col l-unit__col--right">
       <div class="clearfix l-unit__stat-col--left wide-3"><b><?=htmlspecialchars($data[$key]['ID']);?></b></div>
           <div class="clearfix l-unit__stat-col--left text-left compact-2">