Skip to content

Commit

Permalink
Electrika 2024 (#103)
Browse files Browse the repository at this point in the history
* Fixed registration issue in Electrika.
Info Update on Home page

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Refactor register function in views.py

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update base.html and navbar_dropdown.html templates

* Redirect to registration page if user does not exist in ElectrikaUser table

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update team creation and acceptance logic

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix team creation logic and update FAQ section

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Add phone number and team-up option to user table

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
Vignaraj-pai and pre-commit-ci[bot] authored Jan 19, 2024
1 parent 5aebef9 commit d82df72
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions corpus/templates/electrika/admin/users.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,13 @@ <h3>Stats</h3>
<th>S.No.</th>
<th>Name</th>
<th>Email</th>
<th>Phone Number</th>
<th>From NITK?</th>
<th>College Name</th>
<th>IEEE Member?</th>
<th>IEEE Membership Number</th>
<th>In a Team?</th>
<th>Opted for getting teamed up?</th>
</tr>
</thead>
<tbody>
Expand All @@ -44,11 +46,13 @@ <h3>Stats</h3>
<td>{{ forloop.counter }}</td>
<td>{{ user.user }}</td>
<td>{{ user.user.email }}</td>
<td>{{ user.user.phone_no }}</td>
<td>{{ user.from_nitk|yesno:"Yes,No" }}</td>
<td>{{ user.college_name }}</td>
<td>{{ user.ieee_member|yesno:"Yes,No" }}</td>
<td>{{ user.ieee_membership_no }}</td>
<td>{{ user.team|yesno:"Yes,No" }}</td>
<td>{{ user.to_be_teamed_up|yesno:"Yes,No" }}</td>
</tr>
{% endfor %}
</tbody>
Expand Down

0 comments on commit d82df72

Please sign in to comment.