aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2010-06-28 16:31:14 +0200
committerJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2010-06-28 16:31:14 +0200
commitc2e2632815545d792a90af441247d9d8f885936b (patch)
tree541fc911da60ec03a3134b97fed773c48e0c7fb0 /app
parentNamed scope in User for fetching recruits that answered all questions (diff)
downloadrecruiting-webapp-c2e2632815545d792a90af441247d9d8f885936b.tar.gz
recruiting-webapp-c2e2632815545d792a90af441247d9d8f885936b.tar.bz2
recruiting-webapp-c2e2632815545d792a90af441247d9d8f885936b.zip
Link on homepage to listing of recruits with all questions answered
Diffstat (limited to 'app')
-rw-r--r--app/views/taglibs/pages.dryml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/taglibs/pages.dryml b/app/views/taglibs/pages.dryml
index 47766b3..2b50b00 100644
--- a/app/views/taglibs/pages.dryml
+++ b/app/views/taglibs/pages.dryml
@@ -39,6 +39,9 @@
<if test="&current_user.try.any_pending_project_acceptances?">
<a with="&ProjectAcceptance" action="pending_acceptances">Recruits waiting for your acceptance</a>.
</if>
+ <if test="&(User.recruits_answered_all.count > 0) && current_user.try.role.try.is_recruiter?">
+ <a with="&User" action="ready_recruits">Recruits that answered all questions</a>.<br/>
+ </if>
<if test="&current_user.try.role.try.is_mentor? && User.mentorless_recruits.count > 0">
<a with="&User" action="mentorless_recruits">See mentorless recruits</a><br/>
</if>