Commits

Nathaniel Tucker committed 6007b77

More explanations for signup

  • Participants
  • Parent commits 8a17643

Comments (0)

Files changed (2)

File ahgl/apps/profiles/models.py

 
 class Team(models.Model):
     """Per Tournament"""
-    name = models.CharField(_("name"), max_length=50)
+    name = models.CharField(_("company name"), max_length=50)
     slug = models.SlugField(_("slug"), max_length=50)
-    photo = ImageField(upload_to='team_photos', null=True, blank=True)
+    photo = ImageField(_("team photo"), upload_to='team_photos', null=True, blank=True)
     charity = models.ForeignKey('profiles.Charity', null=True, blank=True, on_delete=models.SET_NULL, related_name='teams', help_text=u"If your charity is not listed, send a message to an admin for it to be added.")
-    motto = models.CharField(max_length=70, blank=True)
-    approval = models.FileField(upload_to='team_approvals', null=True, blank=True)
+    motto = models.CharField(_("team motto"), max_length=70, blank=True)
+    approval = models.FileField(_("Written Company Permission"), upload_to='team_approvals', null=True, blank=True, help_text="Submit a pdf of approval letter on official company letterhead saying that your team can represent your company in the AHGL (if needed an approval email from an official company email will do).")
     members = models.ManyToManyField('Profile', null=True, blank=True, related_name='teams', through=TeamMembership)
     tournament = models.ForeignKey('tournaments.Tournament', related_name='teams', db_index=True)
     

File ahgl/apps/profiles/templates/profiles/team_form.html

     </fieldset>
 </form>
 {% if team %}
+<div class="well">
 <h2>Members</h2>
+<div>To add members to the team, go to their player profile page (all profiles here: http://afterhoursgaming.tv/profiles/).</div>
 <ul>
 {% for team_member in team.team_membership.all %}
 <li><a href="{% url membership_edit team_member.id %}">{{team_member}}</a></li>
 {% endfor %}
 </ul>
+</div>
 {% endif %}
 {% endblock %}