File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
profiles/templates/profiles Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 9191 {{ user.participant_label|title }}
9292 </ p >
9393
94+ < label for ="userTeamCount "> Hackathons Joined</ label >
95+ < p id ="userTeamCount ">
96+ {{ user.teams.all|length }}
97+ </ p >
98+ < label for ="userHackathons "> List of Hackathons Joined</ label >
99+ {% if user.teams.all %}
100+ < ul id ="userHackathons ">
101+ {% for team in user.teams.all %}
102+ < li >
103+ < a href ="{% url 'hackathon_detail' team.hackathon.slug %} "> {{ team.hackathon.name }}</ a >
104+ </ li >
105+ {% endfor %}
106+ </ ul >
107+ {% else %}
108+ < p id ="userHackathons "> You haven't participated in any hackathons yet. Why not sign up for the next one?</ p >
109+ {% endif %}
110+
94111 < label for ="website "> Website</ label >
95112 < p id ="website " class ="profile-website-url ">
96113 {% if user.website_url %}
You can’t perform that action at this time.
0 commit comments