Fix procfile and attachment in event nore
This commit is contained in:
parent
d64090b8a9
commit
dd8d0a659d
2
Procfile
2
Procfile
|
@ -1,2 +1,2 @@
|
|||
web: bundle exec unicorn_rails -p $PORT
|
||||
worker: bundle exec sidekiq -q post_receive,mailer,system_hook,project_web_hook,common,default,gitolite
|
||||
worker: bundle exec sidekiq -q post_receive,mailer,system_hook,project_web_hook,common,default,gitlab_shell
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
%span.event-note
|
||||
= markdown truncate(event.target.note, length: 70)
|
||||
- note = event.target
|
||||
- if note.attachment.url
|
||||
= link_to note.attachment.url, target: "_blank", class: 'note-file-attach' do
|
||||
- if note.attachment.image?
|
||||
= image_tag note.attachment.url, class: 'note-image-attach'
|
||||
|
|
Loading…
Reference in a new issue