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.
Merge pull request openhatch#42 from daveeloo/ui
Commit to close issue openhatch#22 enhancements from user feedback
- Loading branch information
Showing
67 changed files
with
78 additions
and
723 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
31 changes: 21 additions & 10 deletions
31
greenhouse/templates/dashboard.html → greenhouse-project/templates/dashboard.html
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,49 @@ | ||
{% 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 class='dashboard-box span4'> | ||
<h3>Was recently contacted:</h3> | ||
{% for p in contacted %} | ||
<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 %} |
File renamed without changes.
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
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.