diff options
author | 2011-07-09 19:14:05 +0200 | |
---|---|---|
committer | 2011-07-09 19:16:49 +0200 | |
commit | 13bd8ae505d4d35ff792ce00c7b4bc676a38f817 (patch) | |
tree | 55875ae7aa19d1bb7a64d0ffce8796fdd304a2de /app | |
parent | Production email configs (diff) | |
download | recruiting-webapp-13bd8ae505d4d35ff792ce00c7b4bc676a38f817.tar.gz recruiting-webapp-13bd8ae505d4d35ff792ce00c7b4bc676a38f817.tar.bz2 recruiting-webapp-13bd8ae505d4d35ff792ce00c7b4bc676a38f817.zip |
Show note about editing mentor relation on user edit page
Diffstat (limited to 'app')
-rw-r--r-- | app/views/users/edit.dryml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/app/views/users/edit.dryml b/app/views/users/edit.dryml index f974b53..7a0698e 100644 --- a/app/views/users/edit.dryml +++ b/app/views/users/edit.dryml @@ -1,4 +1,13 @@ -<edit-page if="¤t_user.valid?" /> +<edit-page if="¤t_user.valid?"> + <prepend-content-body:> + <div if="&can_edit?(:mentor)"> + If you want to start or stop mentoring this recruit go back to <a>show page for this user</a> and click 'Start/Stop mentoring this recruit' button. + </div> + <else> + You can not change mentor for this user (possible reasons are: you're not logged in, you don't have mentor role, someone else is mentor for this user). + </else> + </prepend-content-body:> +</edit-page> <else> <edit-page> <body:> |