Explorar o código

beautify clientarea

andre %!s(int64=4) %!d(string=hai) anos
pai
achega
7ebb685ee6
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      templates/client/default/controlers/main.tpl

+ 2 - 2
templates/client/default/controlers/main.tpl

@@ -85,10 +85,10 @@
                                         </li>
                                         <li>
                                             <span class="list-heading">Testing</span>
-                                            {if ($smarty.now - ($regdate|@strtotime)) < 259200}
+                                            {if ($smarty.now - ($regdate|@strtotime)) > 950400}
                                                 <span class="list-alert">endet in {(($smarty.now - ($regdate|@strtotime)) / 86400)|round} Tagen</span>
                                             {else}
-                                                <span class="list-text">endet in {(($smarty.now - ($regdate|@strtotime)) / 86400)|round} Tagen</span>
+                                                <span class="list-text">endet in {(14 - (($smarty.now - ($regdate|@strtotime)) / 86400)|round)} Tagen</span>
                                             {/if}                                                
                                         </li>
                                     {/if}