diff options
author | 2011-07-23 19:51:52 +0200 | |
---|---|---|
committer | 2011-07-23 20:00:56 +0200 | |
commit | e6a17027c55ab3ded54b282685aab264318c7c7e (patch) | |
tree | 1641b0a5883f5467462fa1d9b8d7743473d54f83 /app | |
parent | Don't show "Start mentoring this recruit" button on non-recruit pages (diff) | |
download | recruiting-webapp-e6a17027c55ab3ded54b282685aab264318c7c7e.tar.gz recruiting-webapp-e6a17027c55ab3ded54b282685aab264318c7c7e.tar.bz2 recruiting-webapp-e6a17027c55ab3ded54b282685aab264318c7c7e.zip |
Show links to answers on user questions listing
Fix bug:
https://bugs.gentoo.org/show_bug.cgi?id=355721
Diffstat (limited to 'app')
-rw-r--r-- | app/views/taglibs/cards.dryml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/taglibs/cards.dryml b/app/views/taglibs/cards.dryml index 16f96f4..6b144aa 100644 --- a/app/views/taglibs/cards.dryml +++ b/app/views/taglibs/cards.dryml @@ -2,8 +2,8 @@ <card class="question" param="default" merge> <header: param> <h4 param="heading"><a><name/></a></h4> - <if with="&this.answered?(user || current_user)"> - answered + <if test="&this.answered?(user || current_user)"> + answered (<a with="&this.answer_of(user || current_user)">view answer</a>) </if> </header:> </card> |