[SUCS Devel] [Git][sucssite/sucs-site][master] if you're a student then you don't get to choose your real name

Imran Hussain imranh at sucs.org
Wed Sep 27 10:44:39 BST 2017


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


Commits:
3eb75c79 by Imran Hussain at 2017-09-27T10:44:26+01:00
if you're a student then you don't get to choose your real name

- - - - -


1 changed file:

- templates/signup.tpl


Changes:

=====================================
templates/signup.tpl
=====================================
--- a/templates/signup.tpl
+++ b/templates/signup.tpl
@@ -55,7 +55,7 @@
         <div class="row" id="realnamediv">
             <label for="realname">{if $usertype!=2}Real Name{else}Society Name{/if}</label>
             <span class="textinput"><input type="text" id="realname" name="realname" size="30"
-                                           {if $mode=='re-form'}value='{$fields.realname}'{/if}/></span>
+                                           {if $mode=='re-form'}value='{$fields.realname}'{/if} {if $usertype==1}readonly{/if}/></span>
 
             <div id="realnamemessage"{if $mode=='re-form'}{if isset($errors.realname)}
                  style="color:red; float:right; clear:right;">{$errors.realname}{else} style="color:green; float:right;



View it on GitLab: https://projects.sucs.org/sucssite/sucs-site/commit/3eb75c79ec5dca889b3baac4a7142796dfa3ac06

---
View it on GitLab: https://projects.sucs.org/sucssite/sucs-site/commit/3eb75c79ec5dca889b3baac4a7142796dfa3ac06
You're receiving this email because of your account on projects.sucs.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/devel/attachments/20170927/34dc9050/attachment.html>


More information about the Devel mailing list