[SUCS Devel] [Git][sucssite/sucs-site][master] Fix #23: Remove create, edit, and delete buttons from static pages.

Imran Hussain imranh at sucs.org
Tue Dec 1 14:01:04 GMT 2015


Imran Hussain pushed to branch master at sucssite / sucs-site


Commits:
a3bf305c by Imran Hussain at 2015-12-01T13:57:30Z
Fix #23: Remove create, edit, and delete buttons from static pages.

If you want to add, modify, or delete content from the site, use the git.
Either commit directly to master or make an MR if you can't commit.

- - - - -


1 changed file:

- templates/index.tpl


Changes:

=====================================
templates/index.tpl
=====================================
--- a/templates/index.tpl
+++ b/templates/index.tpl
@@ -5,19 +5,19 @@
     <div id="primaryC">
         {$body}
 
-        {if $creatable}
+        {* {if $creatable}
             <p>You can <a href="?action=create">create</a> this page though.</p>
-        {/if}
+        {/if} *}
 
         {if $modified}
             <div class="edit">
-                {if $editable}
+                {* {if $editable}
                     <ul>
                         <li><a href="?action=delete-query">Delete</a></li>
                         <li><a href="?action=edit">Edit</a></li>
                     </ul>
                     <div class="clear"></div>
-                {/if}
+                {/if} *}
                 Page last modified{if $modifiedby} by <a
                 href="{$baseurl}/Community/Members/{$modifiedby}">{$modifiedby}</a>{/if} on {$modified}
             </div>



View it on GitLab: https://projects.sucs.org/sucssite/sucs-site/commit/a3bf305c2ea82b46009e55f6d70d316227ba53a5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/devel/attachments/20151201/0645853c/attachment.html>


More information about the Devel mailing list