diff options
author | Joachim Filip Ignacy Bartosik <jbartosik@gmail.com> | 2010-06-28 16:31:14 +0200 |
---|---|---|
committer | Joachim Filip Ignacy Bartosik <jbartosik@gmail.com> | 2010-06-28 16:31:14 +0200 |
commit | c2e2632815545d792a90af441247d9d8f885936b (patch) | |
tree | 541fc911da60ec03a3134b97fed773c48e0c7fb0 /app | |
parent | Named scope in User for fetching recruits that answered all questions (diff) | |
download | recruiting-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.dryml | 3 |
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="¤t_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="¤t_user.try.role.try.is_mentor? && User.mentorless_recruits.count > 0"> <a with="&User" action="mentorless_recruits">See mentorless recruits</a><br/> </if> |