OSDN Git Service
(root)
/
wvm
/
gitlab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80bcba4
)
auto complete team member mentions
author
Nihad Abbasov
<narkoz.2008@gmail.com>
Sun, 23 Sep 2012 16:52:01 +0000
(09:52 -0700)
committer
Nihad Abbasov
<narkoz.2008@gmail.com>
Sun, 23 Sep 2012 16:52:01 +0000
(09:52 -0700)
app/views/notes/_common_form.html.haml
patch
|
blob
|
history
diff --git
a/app/views/notes/_common_form.html.haml
b/app/views/notes/_common_form.html.haml
index
fc6e3c7
..
f91e921
100644
(file)
--- a/
app/views/notes/_common_form.html.haml
+++ b/
app/views/notes/_common_form.html.haml
@@
-37,3
+37,8
@@
= f.file_field :attachment, class: "input-file"
%span.hint Any file less than 10 MB
+:javascript
+ $(function(){
+ var names = #{@project.users.pluck(:name)};
+ $('.note-text').atWho('@', { data: names });
+ });