forked from openhatch/oh-greenhouse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes issue openhatch#22 User Feedback Enhancements
-Changed "Greenhouse Overview" to "Greenhouse" -Moved purpose text and user_profile history to dashboard -Removed sidebar, Debian Developer swirl, top nav and copyright -Added description to contacts box and DDOP -Moved "most recent uploads" in person view to be right below stats
- Loading branch information
Showing
5 changed files
with
41 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,42 @@ | ||
{% load custom_tags %} | ||
{% block dashboard %} | ||
|
||
<h2>Dashboard:</h2> | ||
<p>The purpose of this app is to help Debian Developer Advisory Team get in touch with new Debian contributors. | ||
People who should get pinged are active contributors who become inactive as well as experienced people who should | ||
be applying for developer status. | ||
</p> | ||
<div id='content' class='row-fluid'> | ||
|
||
<div class='dashboard-box span4'> | ||
|
||
<h3>New comers not greeted yet:</h3> | ||
|
||
{% for p in first_timers|dictsortreversed:"first_upload.timestamp" %} | ||
<li><a href="contributors/{{ p.email }}">{{ p.name }}</a>, {{ p.first_upload.timestamp|date:"SHORT_DATE_FORMAT" }}</li> | ||
{% endfor %} | ||
|
||
</div> | ||
|
||
<div class='dashboard-box span4'> | ||
|
||
<h3>Have done 40 uploads but need to be contacted:</h3> | ||
|
||
{% for p in experienced|dictsortreversed:"last_upload.timestamp" %} | ||
<li><a href="contributors/{{ p.email }}">{{ p.name }}</a>, {{ p.total_uploads }} uploads</li> | ||
{% endfor %} | ||
|
||
</div> | ||
|
||
<div class='dashboard-box span4'> | ||
|
||
<h3>Haven't done an upload since being contacted:</h3> | ||
|
||
{% for p in inactive|dictsortreversed:"last_upload.timestamp" %} | ||
<li><a href="contributors/{{ p.email }}">{{ p.name }}</a> <b>{% ubu_dev_img p.ubuntu_dev %}</b>, {{ p.last_upload.timestamp|date:"SHORT_DATE_FORMAT" }}</li> | ||
<li><a href="contributors/{{ p.email }}">{{ p.name }}</a>, {{ p.last_upload.timestamp|date:"SHORT_DATE_FORMAT" }}</li> | ||
{% endfor %} | ||
</div> | ||
|
||
</div> | ||
|
||
<div id='action_log'> | ||
<h2>Your Most Recent Actions:</h2> | ||
<ul>{% for action in actions|slice:":20" %} | ||
<li>{{ action.action_time|date:"D d M Y" }}: | ||
<a href="/contributors/{{ action.object_repr }}"> | ||
{{ action.change_message }}</a></li> | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,6 +51,7 @@ <h1>{{ person.name }} </h1><p>{{ suggestion|safe }}</p> | |
| <a id="unify" title="If this person already exists under another identity | ||
click here to merge the identities"> [unify duplicate identity] </a> | ||
</li> | ||
<li><b>DDPO:</b><a href="http://qa.debian.org/[email protected]"> {{person.name}}</a></li> | ||
<li><b>Debian Developer:</b> {{ person.ubuntu_dev|yesno:"Yes,No" }}</li> | ||
<li><b>Last Seen:</b> {{ person.last_upload.timestamp }}</li> | ||
<li><b>Last Contact:</b> {{ person|recent_contact }}</li> | ||
|
@@ -82,6 +83,25 @@ <h1>{{ person.name }} </h1><p>{{ suggestion|safe }}</p> | |
</center> | ||
</div> | ||
|
||
<div id='recent_ulpoads'> | ||
<h2>Most recent uploads:</h2> | ||
|
||
<table> | ||
<tr> | ||
<th>Package</th> | ||
<th>Version</th> | ||
<th>Date</th> | ||
</tr> | ||
{% for ul in recent_uploads %} | ||
<tr> | ||
<td><a href="https://launchpad.net/ubuntu/+source/{{ ul.package }}/{{ ul.version }}">{{ ul.package }}</a></td> | ||
<td>{{ ul.version }}</d> | ||
<td>{{ ul.timestamp }}</td> | ||
</tr> | ||
{% endfor %} | ||
</table> | ||
</div> | ||
|
||
|
||
<div id='whiteboard'> | ||
<h2>Whiteboard:</h2> | ||
|
@@ -137,30 +157,13 @@ <h3>#{{ forloop.revcounter }}</h3> | |
<h2>Uploads per release:</h2> | ||
<div id="uploads_per_release_chart"></div> | ||
</div> | ||
|
||
<div id='recent_ulpoads'> | ||
<h2>Most recent uploads:</h2> | ||
|
||
<table> | ||
<tr> | ||
<th>Package</th> | ||
<th>Version</th> | ||
<th>Date</th> | ||
</tr> | ||
{% for ul in recent_uploads %} | ||
<tr> | ||
<td><a href="https://launchpad.net/ubuntu/+source/{{ ul.package }}/{{ ul.version }}">{{ ul.package }}</a></td> | ||
<td>{{ ul.version }}</d> | ||
<td>{{ ul.timestamp }}</td> | ||
</tr> | ||
{% endfor %} | ||
</table> | ||
</div> | ||
</div> | ||
|
||
<script type="text/javascript"> | ||
var textarea = document.getElementById('id_comment'); | ||
textarea.setAttribute('placeholder', 'After you contact the person leave a comment here...'); | ||
textarea.setAttribute('placeholder', 'After you contact the person leave a comment here...' + | ||
' ' + | ||
'Example: Emailed this person and encouraged her to apply for Debian Developer status'); | ||
|
||
var textarea = document.getElementById('id_notes'); | ||
textarea.setAttribute('placeholder', 'Example: This person has skills in...'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters