[SUCS Devel] [Git][sucssite/sucs-site][sucs-site] 4 commits: Fix incorrect SU URL
Imran Hussain (@imranh)
gitlab at projects.sucs.org
Tue Sep 19 18:26:45 BST 2023
Imran Hussain pushed to branch sucs-site at sucssite / sucs-site
Commits:
35fe6ad3 by Andrew Vincent Pover at 2023-09-19T11:12:35+00:00
Fix incorrect SU URL
- - - - -
d03fde5e by Imran Hussain at 2023-09-19T17:19:58+00:00
[signup] Let people enter their own names
- - - - -
f5770825 by Imran Hussain at 2023-09-19T17:26:07+00:00
Merge branch 'master' into 'beta'
Master
See merge request sucssite/sucs-site!131
- - - - -
205bedf2 by Imran Hussain at 2023-09-19T17:26:39+00:00
Merge branch 'beta' into 'sucs-site'
Beta
See merge request sucssite/sucs-site!132
- - - - -
2 changed files:
- templates/signup.tpl
- templates/susignup.tpl
Changes:
=====================================
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} {if $usertype==1}readonly{/if}/></span>
+ {if $mode=='re-form'}value='{$fields.realname}'{/if} {if $usertype==0}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;
=====================================
templates/susignup.tpl
=====================================
@@ -1,53 +1,53 @@
-{if $mode=='login'}
- <form action="{$componentpath}" method="post">
- <div class="box" style="width: 70%; margin: auto;">
- <div class="boxhead"><h2>Membership Signup</h2></div>
- <div class="boxcontent">
-
- <p>Please enter your Transation ID. It can be found by logging into <a
- href='http://www.swansea-union.co.uk/shop/purchasehistory/'>swansea-union.com</a> and
- selecting purchase history.</p>
-
- <div class="row">
- <label for="sid">Student Number:</label>
- <span class="textinput"><input type="text" size="20" name="sid" id="sid"/></span>
- </div>
- <div class="row">
- <label for="transactionID">Transaction ID:</label>
- <span class="textinput"><input type="text" size="20" name="transactionID"
- id="transactionID"/></span>
- </div>
- <div class="row"><span class="textinput">
- <input type="submit" name="submit" value="Join"/></span>
- </div>
- <div class="clear"></div>
- <div class="note">If you already have an account and wish to renew, simply buy an additional years
- membership from the <a href='https://sucs.org/join'>SUSU website</a>. Enter
- the details above and click "Join"
- </div>
- </div>
- <div class="hollowfoot">
- <div>
- <div></div>
- </div>
- </div>
- </div>
- </form>
-{elseif $mode=='form'}
- <h1>Signup</h1>
- <p>To contiune signup now click below</p>
- <form action="{$baseurl}/signup/" method="post">
- <input type=hidden name="signupid" id="id" value="{$id}"/>
- <input type=hidden name="signuppw" id="pass" value="{$pass}"/>
- <input type=hidden name="signupsid" id="sid" value="{$sid}"/>
- <input type=submit name="submit" value="Proceed"/>
- </form>
-{else}
- <h1>Error</h1>
- <div class='errorbar'>
- <strong>Error: </strong> {$error_text}
- </div>
- An error occured during signup, please email, with as much information as you can provide,
- <a href='mailto:admin at sucs.org'>admin at sucs.org</a>
- for assistance.
-{/if}
+{if $mode=='login'}
+ <form action="{$componentpath}" method="post">
+ <div class="box" style="width: 70%; margin: auto;">
+ <div class="boxhead"><h2>Membership Signup</h2></div>
+ <div class="boxcontent">
+
+ <p>Please enter your Transation ID. It can be found by logging into <a
+ href='http://www.swansea-union.co.uk/shop/purchasehistory/'>swansea-union.co.uk</a> and
+ selecting purchase history.</p>
+
+ <div class="row">
+ <label for="sid">Student Number:</label>
+ <span class="textinput"><input type="text" size="20" name="sid" id="sid"/></span>
+ </div>
+ <div class="row">
+ <label for="transactionID">Transaction ID:</label>
+ <span class="textinput"><input type="text" size="20" name="transactionID"
+ id="transactionID"/></span>
+ </div>
+ <div class="row"><span class="textinput">
+ <input type="submit" name="submit" value="Join"/></span>
+ </div>
+ <div class="clear"></div>
+ <div class="note">If you already have an account and wish to renew, simply buy an additional years
+ membership from the <a href='https://sucs.org/join'>SUSU website</a>. Enter
+ the details above and click "Join"
+ </div>
+ </div>
+ <div class="hollowfoot">
+ <div>
+ <div></div>
+ </div>
+ </div>
+ </div>
+ </form>
+{elseif $mode=='form'}
+ <h1>Signup</h1>
+ <p>To contiune signup now click below</p>
+ <form action="{$baseurl}/signup/" method="post">
+ <input type=hidden name="signupid" id="id" value="{$id}"/>
+ <input type=hidden name="signuppw" id="pass" value="{$pass}"/>
+ <input type=hidden name="signupsid" id="sid" value="{$sid}"/>
+ <input type=submit name="submit" value="Proceed"/>
+ </form>
+{else}
+ <h1>Error</h1>
+ <div class='errorbar'>
+ <strong>Error: </strong> {$error_text}
+ </div>
+ An error occured during signup, please email, with as much information as you can provide,
+ <a href='mailto:admin at sucs.org'>admin at sucs.org</a>
+ for assistance.
+{/if}
View it on GitLab: https://projects.sucs.org/sucssite/sucs-site/-/compare/0ded7b1d2a1bcdaaf016bdc2e4140a83e9a2f62c...205bedf20834ef10061be9aeb3d56a2dc04a224f
--
View it on GitLab: https://projects.sucs.org/sucssite/sucs-site/-/compare/0ded7b1d2a1bcdaaf016bdc2e4140a83e9a2f62c...205bedf20834ef10061be9aeb3d56a2dc04a224f
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/20230919/bdf774ae/attachment-0001.html>
More information about the Devel
mailing list