Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Add {todo,onboarding}_urls to UI
Browse files Browse the repository at this point in the history
  • Loading branch information
chadwhitacre committed Aug 20, 2015
1 parent 316242e commit 980b150
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 11 deletions.
14 changes: 6 additions & 8 deletions www/%team/index.html.spt
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,12 @@ title = name = team.name

{% block content %}
<div class="col0">
{% if team.is_approved in (None, False) %}
{{ team.status }} | {{ team.homepage }}
{% else %}
<a href="{{ team.homepage }}">{{ team.homepage }}</a>
{% endif %} |
owned by <a href="/~{{ team.owner }}/">{{ team.owner }}</a>

<h2>{{ _("Product or Service") }}</h2>
<p>{% if team.status != 'approved' %}{{ team.status }} | {% endif %}
<a href="{{ team.homepage }}">{{ _("Homepage") }}</a>
{% if team.todo_url %}| <a href="{{ team.todo_url }}">{{ _("Issues") }}</a>{% endif %}
{% if team.onboarding_url %}| <a href="{{ team.onboarding_url }}">{{ _("Onboarding") }}</a>{% endif %}
| owned by <a href="/{{ team.owner }}/">{{ team.owner }}</a></p>

<div class="statement profile-statement">
{{ markdown.render(team.product_or_service) }}
</div>
Expand Down
15 changes: 12 additions & 3 deletions www/new.spt
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,21 @@ title = _("Apply for a New Team")
<label><h2>{{ _("Team Name") }}</h2></label>
<input type="text" name="name" required autofocus>

<label><h2>{{ _("Product or Service") }}</h2></label>
<p><i>{{ _("What product or service does your Team provide?") }}</i></p>
<textarea name="product_or_service" required></textarea>

<label><h2>{{ _("Homepage") }}</h2></label>
<p><i>{{ _("What is the customer-facing web page for your product or service?") }}</i></p>
<input type="text" name="homepage" required>

<label><h2>{{ _("Product or Service") }}</h2></label>
<p>{{ _("What product or service does your Team provide?") }}</p>
<textarea name="product_or_service" required></textarea>
<label><h2>{{ _("Issue Tracker URL") }}</h2></label>
<p><i>{{ _("Where can people find a list of available work to do for your Team?") }}</i></p>
<input type="text" name="todo_url" required>

<label><h2>{{ _("Self-Onboarding Documentation URL") }}</h2></label>
<p><i>{{ _("Where can people find instructions on how to do your work for you?") }}</i></p>
<input type="text" name="onboarding_url" required>

<br>
<br>
Expand Down

0 comments on commit 980b150

Please sign in to comment.