helpdesk 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/helpdesk/admin/tickets.js +1 -13
  3. data/app/assets/javascripts/helpdesk/application.js +0 -1
  4. data/app/assets/stylesheets/helpdesk/admin.css +0 -2
  5. data/app/assets/stylesheets/helpdesk/imports.css.scss +34 -0
  6. data/app/controllers/helpdesk/admin/base_controller.rb +2 -2
  7. data/app/controllers/helpdesk/admin/faqs_controller.rb +2 -7
  8. data/app/controllers/helpdesk/admin/subscribers_controller.rb +2 -8
  9. data/app/controllers/helpdesk/admin/ticket_types_controller.rb +3 -9
  10. data/app/controllers/helpdesk/admin/tickets_controller.rb +9 -21
  11. data/app/controllers/helpdesk/application_controller.rb +9 -4
  12. data/app/controllers/helpdesk/dashboard_controller.rb +2 -2
  13. data/app/controllers/helpdesk/faqs_controller.rb +80 -2
  14. data/app/controllers/helpdesk/subscribers_controller.rb +41 -18
  15. data/app/controllers/helpdesk/tickets_controller.rb +15 -20
  16. data/app/helpers/helpdesk/admin/tickets_helper.rb +0 -9
  17. data/app/helpers/helpdesk/helpdesk_helper.rb +6 -30
  18. data/app/helpers/helpdesk/tickets_helper.rb +0 -3
  19. data/app/mailers/helpdesk/comment_by_requester_confirmation +38 -0
  20. data/app/mailers/helpdesk/notifications_mailer.rb +1 -2
  21. data/app/models/helpdesk/comment.rb +5 -11
  22. data/app/models/helpdesk/faq.rb +1 -1
  23. data/app/models/helpdesk/ticket.rb +24 -27
  24. data/app/models/helpdesk/ticket_type.rb +4 -4
  25. data/app/views/helpdesk/admin/faqs/_form.html.haml +2 -2
  26. data/app/views/helpdesk/admin/faqs/edit.html.haml +9 -6
  27. data/app/views/helpdesk/admin/faqs/index.html.haml +2 -2
  28. data/app/views/helpdesk/admin/faqs/new.html.haml +1 -2
  29. data/app/views/helpdesk/admin/faqs/show.html.haml +1 -1
  30. data/app/views/helpdesk/admin/subscribers/edit.html.haml +1 -2
  31. data/app/views/helpdesk/admin/subscribers/index.html.haml +2 -3
  32. data/app/views/helpdesk/admin/subscribers/new.html.haml +1 -2
  33. data/app/views/helpdesk/admin/ticket_types/edit.html.haml +1 -2
  34. data/app/views/helpdesk/admin/ticket_types/index.html.haml +1 -1
  35. data/app/views/helpdesk/admin/ticket_types/new.html.haml +1 -2
  36. data/app/views/helpdesk/admin/tickets/_form.html.haml +9 -9
  37. data/app/views/helpdesk/admin/tickets/_ticket.html.haml +16 -15
  38. data/app/views/helpdesk/admin/tickets/edit.html.haml +5 -5
  39. data/app/views/helpdesk/admin/tickets/index.html.haml +5 -7
  40. data/app/views/helpdesk/admin/tickets/list.html.haml +2 -3
  41. data/app/views/helpdesk/admin/tickets/new.html.haml +2 -2
  42. data/app/views/helpdesk/admin/tickets/show.html.haml +9 -9
  43. data/app/views/helpdesk/faqs/_form.html.erb +33 -0
  44. data/app/views/helpdesk/faqs/edit.html.erb +6 -0
  45. data/app/views/helpdesk/faqs/index.html.erb +29 -0
  46. data/app/views/helpdesk/faqs/new.html.erb +5 -0
  47. data/app/views/helpdesk/faqs/show.html.erb +25 -0
  48. data/app/views/helpdesk/notifications_mailer/comment_by_helpdesk_confirmation.pl.html.haml +32 -0
  49. data/app/views/helpdesk/notifications_mailer/comment_by_helpdesk_notification.pl.html.haml +28 -0
  50. data/app/views/helpdesk/notifications_mailer/comment_by_requester_confirmation.pl.html.haml +32 -0
  51. data/app/views/helpdesk/notifications_mailer/comment_by_requester_notification.pl.html.haml +42 -0
  52. data/app/views/helpdesk/notifications_mailer/ticket_created_confirmation.pl.html.haml +34 -0
  53. data/app/views/helpdesk/notifications_mailer/ticket_created_notification.pl.html.haml +42 -0
  54. data/app/views/helpdesk/tickets/_form.html.haml +11 -11
  55. data/app/views/helpdesk/tickets/_ticket.html.haml +10 -10
  56. data/app/views/helpdesk/tickets/index.html.haml +2 -3
  57. data/app/views/helpdesk/tickets/new.html.haml +2 -2
  58. data/app/views/helpdesk/tickets/show.html.haml +12 -16
  59. data/app/views/layouts/helpdesk/_topmenu.html.haml +21 -27
  60. data/app/views/layouts/helpdesk/_topuser.html.haml +9 -32
  61. data/app/views/layouts/helpdesk/admin.html.haml +6 -14
  62. data/app/views/layouts/helpdesk/user.html.haml +6 -14
  63. data/config/initializers/simple_form.rb +144 -85
  64. data/config/locales/helpdesk.en.yml +3 -107
  65. data/config/locales/helpdesk.pl.yml +7 -46
  66. data/config/routes.rb +5 -6
  67. data/db/migrate/20130521105605_create_helpdesk_ticket_types.rb +1 -21
  68. data/db/migrate/20130521132216_add_tr_class_to_ticket_type.rb +5 -0
  69. data/lib/generators/helpdesk/install_generator.rb +0 -11
  70. data/lib/generators/helpdesk/templates/README +9 -17
  71. data/lib/generators/helpdesk/templates/helpdesk.rb +6 -9
  72. data/lib/helpdesk.rb +4 -4
  73. data/lib/helpdesk/engine.rb +0 -8
  74. data/lib/helpdesk/version.rb +1 -1
  75. metadata +28 -137
  76. data/app/assets/stylesheets/helpdesk/imports.css.sass +0 -0
  77. data/app/views/helpdesk/faqs/index.html.haml +0 -20
  78. data/app/views/helpdesk/notifications_mailer/comment_by_helpdesk_confirmation.html.haml +0 -15
  79. data/app/views/helpdesk/notifications_mailer/comment_by_helpdesk_notification.html.haml +0 -19
  80. data/app/views/helpdesk/notifications_mailer/comment_by_requester_confirmation.html.haml +0 -16
  81. data/app/views/helpdesk/notifications_mailer/comment_by_requester_notification.html.haml +0 -27
  82. data/app/views/helpdesk/notifications_mailer/ticket_created_confirmation.html.haml +0 -16
  83. data/app/views/helpdesk/notifications_mailer/ticket_created_notification.html.haml +0 -21
  84. data/app/views/layouts/mailer_layout.html.haml +0 -20
  85. data/config/initializers/globalize.rb +0 -4
@@ -1,7 +1,6 @@
1
1
  = render 'menu'
2
2
 
3
- - content_for :title do
4
- Editing sub
3
+ %h1 Editing sub
5
4
 
6
5
  = render 'form'
7
6
 
@@ -1,7 +1,6 @@
1
1
  = render 'menu'
2
2
 
3
- - content_for :title do
4
- Subscribers
3
+ %h1 Subscribers
5
4
 
6
5
  %table.table.table-hover
7
6
  %tr
@@ -20,7 +19,7 @@
20
19
  = ico('ok')
21
20
  %td= subscriber.send Helpdesk.display_user.to_sym
22
21
  %td= subscriber.email
23
-
22
+
24
23
  %td= subscriber.lang
25
24
  %td= I18n::l(subscriber.created_at, :format=>:short)
26
25
  / %td= link_to 'Show', admin_subscriber_path(subscriber)
@@ -1,5 +1,4 @@
1
- - content_for :title do
2
- New subscriber
1
+ %h1 New subscriber
3
2
 
4
3
  = render 'form'
5
4
 
@@ -1,7 +1,6 @@
1
1
  = render 'menu'
2
2
 
3
- - content_for :title do
4
- Editing ticket_type
3
+ %h1 Editing ticket_type
5
4
 
6
5
  = render 'form'
7
6
 
@@ -1,6 +1,6 @@
1
1
  = render 'menu'
2
2
 
3
- - content_for :title do
3
+ %h1
4
4
  -if params[:ticket_types] && params[:ticket_types] == 'active'
5
5
  = t('helpdesk.ticket_types.active')
6
6
  -elsif params[:ticket_types] && params[:ticket_types] == 'inactive'
@@ -1,7 +1,6 @@
1
1
  = render 'menu'
2
2
 
3
- - content_for :title do
4
- New ticket_type
3
+ %h1 New ticket_type
5
4
 
6
5
  = render 'form'
7
6
 
@@ -1,4 +1,4 @@
1
- = simple_form_for([:admin, @ticket]) do |f|
1
+ = simple_form_for([:admin, @ticket], :html => {:class => 'form-horizontal' }) do |f|
2
2
  - if @ticket.errors.any?
3
3
  %div.error_explanation
4
4
  %h2
@@ -7,17 +7,17 @@
7
7
  - @ticket.errors.full_messages.each do |msg|
8
8
  %li
9
9
  = msg
10
- = f.input :requester_id, :collection => (Helpdesk.user_class).all,:label_method=>Helpdesk.display_user_uniq_info.to_sym, input_html: { class: 'chosen-select' }
11
- = f.input :subject
12
- = f.input :status, :collection => tickets_statuses_for_select, include_blank: false
13
- = f.input :assignee_id, :collection => helpdesk_admin_collection
10
+ = f.input :requester_id, :collection => User.all
11
+ = f.input :subject
12
+ = f.input :status, :collection => Helpdesk::Ticket::STATUS_OPTIONS, include_blank: false
13
+ = f.input :assignee_id, :collection => User.where('helpdesk_admin = ?', true)
14
14
  = f.input :ticket_type_id, :collection => Helpdesk::TicketType.active,include_blank: false
15
15
  - if @ticket.new_record?
16
- = f.input :description,input_html:{rows:4}
16
+ = f.input :description
17
17
  - else
18
18
  = simple_format @ticket.description
19
-
20
-
19
+
20
+
21
21
  %div.form-actions
22
- = f.button :submit, :class => 'btn btn-primary'
22
+ = f.button :submit, :class => 'btn-primary'
23
23
  = submit_tag 'Anuluj', :type => :reset, :class => "btn btn-danger"
@@ -2,30 +2,30 @@
2
2
  %tbody
3
3
  %tr{:class=>ticket.ticket_type.tr_class}
4
4
  %td{colspan:2}
5
- %h4
5
+ %h4
6
6
  ="##{ticket.subject}"
7
7
  %tr
8
- %td{style:'width:100px'}
8
+ %td{style:'width:100px'}
9
9
  = I18n::l(ticket.created_at, :format=>:short)
10
10
  - if ticket.requester
11
- = ticket.requester.send Helpdesk.display_user_uniq_info.to_sym
11
+ = ticket.requester.send Helpdesk.display_user.to_sym
12
12
  %td{rowspan:2}
13
- = status_label humanize_with_i18n(ticket.status,'helpdesk.tickets.statuses'), Helpdesk::Ticket::STATUS_CLASS_BY_KEY[ticket.status.to_sym]
14
-
13
+ = status_label Helpdesk::Ticket::STATUS_BY_KEY[ticket.status.to_sym], Helpdesk::Ticket::STATUS_CLASS_BY_KEY[ticket.status.to_sym]
15
14
  = ticket.ticket_type.title
16
- = auto_link(simple_format(ticket.description), :html => { :target => "_blank" })
15
+
16
+ = simple_format ticket.description
17
17
  %tr
18
18
  %td
19
19
  - if ticket.assignee
20
20
  = t('helpdesk.tickets.assignee_to')
21
- = ticket.assignee.send Helpdesk.display_user_uniq_info.to_sym
21
+ = ticket.assignee.send Helpdesk.display_user.to_sym
22
22
  - else
23
23
  = t('helpdesk.tickets.not_assigned')
24
- = link_to ico('star') + t('helpdesk.tickets.assign_me'), assign_admin_ticket_path(ticket),class: 'btn btn-mini btn-info'
24
+ = link_to ico('star','white') + t('helpdesk.tickets.assign_me'), assign_admin_ticket_path(ticket),class: 'btn btn-mini btn-info'
25
25
  %tr
26
26
  %td
27
27
  %span.btn.disabled
28
- = ico('comment')
28
+ = ico('comment')
29
29
  = ticket.comments.size
30
30
  %td
31
31
  %ul.comments.unstyled
@@ -34,7 +34,7 @@
34
34
  %li.comment{:id=>"comment#{comment.id}"}
35
35
  %div.comment-left
36
36
  - if comment.public
37
- = status_label ico('envelope') + t('helpdesk.comments.send') ,'label-success'
37
+ = status_label ico('envelope','white') + t('helpdesk.comments.send') ,'label-success'
38
38
  - else
39
39
  = status_label t('helpdesk.comments.note'),''
40
40
  %br
@@ -42,18 +42,19 @@
42
42
  = "#"
43
43
  %div.comment-header
44
44
  -if comment.author == ticket.requester
45
- = status_label ico('user')+ t('helpdesk.comments.author'),'label-info'
46
- = comment.author.send Helpdesk.display_user_uniq_info.to_sym if comment.author
45
+ = status_label ico('user','white')+ t('helpdesk.comments.author'),'label-info'
46
+
47
+ = comment.author.send Helpdesk.display_user.to_sym
47
48
  %small
48
49
  = time_ago_in_words(comment.created_at)
49
50
  temu
50
51
  %div.comment-body
51
- = auto_link(simple_format(comment.comment), :html => { :target => "_blank" })
52
-
52
+ = simple_format comment.comment
53
+
53
54
  %tr{:class=>ticket.ticket_type.tr_class}
54
55
  %td{colspan:2}
55
56
  - if show_button
56
57
  = link_to 'Show', admin_ticket_url(ticket), class: 'btn btn-block'
57
58
  -elsif edit_button
58
59
  = link_to 'Edit', edit_admin_ticket_url(ticket), class: 'btn btn-primary'
59
-
60
+
@@ -1,5 +1,5 @@
1
1
  = render 'menu'
2
- - content_for :title do
2
+ %h2
3
3
  = t('helpdesk.ticket')
4
4
  = "##{@ticket.subject}"
5
5
  = render 'form'
@@ -12,7 +12,7 @@
12
12
  %li.comment{:id=>"comment#{comment.id}"}
13
13
  %div.comment-left
14
14
  - if comment.public
15
- = status_label ico('envelope') + t('helpdesk.comments.send') ,'label-success'
15
+ = status_label ico('envelope','white') + t('helpdesk.comments.send') ,'label-success'
16
16
  - else
17
17
  = status_label t('helpdesk.comments.note'),''
18
18
  %br
@@ -20,9 +20,9 @@
20
20
  = "#"
21
21
  %div.comment-header
22
22
  -if comment.author == @ticket.requester
23
- = status_label ico('user')+ t('helpdesk.comments.author'),'label-info'
24
-
25
- = comment.author.send Helpdesk.display_user.to_sym if comment.author
23
+ = status_label ico('user','white')+ t('helpdesk.comments.author'),'label-info'
24
+
25
+ = comment.author.send Helpdesk.display_user.to_sym
26
26
  %small
27
27
  = time_ago_in_words(comment.created_at)
28
28
  temu
@@ -8,7 +8,7 @@
8
8
 
9
9
  %table.table.table-hover
10
10
  %thead
11
- %tr
11
+ %tr
12
12
  %th= t('helpdesk.status')
13
13
  %th ID
14
14
  %th Issue Type
@@ -16,7 +16,7 @@
16
16
  %th Requester
17
17
  %th Requested
18
18
  %th Assignee
19
- %th
19
+ %th
20
20
 
21
21
  %tbody
22
22
  - @tickets.each do |ticket|
@@ -28,15 +28,13 @@
28
28
  %td= ticket.subject
29
29
  %td
30
30
  - if ticket.requester
31
- = ticket.requester.send Helpdesk.display_user.to_sym
32
- %br
31
+ = ticket.requester.name
32
+ %br
33
33
  = ticket.requester.phone
34
- %br
34
+ %br
35
35
  = ticket.requester.email
36
36
  %td= I18n::l(ticket.created_at, :format=>:short)
37
37
  %td= ticket.assignee if ticket.assignee
38
38
  %td= link_to 'Show', admin_ticket_url(ticket)
39
39
  %br
40
40
 
41
- = paginate @tickets
42
-
@@ -1,6 +1,6 @@
1
1
  = render 'menu'
2
2
 
3
- - content_for :title do
3
+ %h1
4
4
  -if params[:tickets] && params[:tickets] == 'unassigned'
5
5
  = t('helpdesk.tickets.unassigned')
6
6
  -elsif params[:tickets] && params[:tickets] == 'closed'
@@ -14,5 +14,4 @@
14
14
 
15
15
  - @tickets.each do |ticket|
16
16
  = render 'ticket', ticket: ticket, show_button:true
17
-
18
- = paginate @tickets
17
+
@@ -1,4 +1,4 @@
1
1
  = render 'menu'
2
- - content_for :title do
2
+ %h1
3
3
  = t('helpdesk.new_ticket')
4
- = render 'form'
4
+ = render 'form'
@@ -7,11 +7,11 @@
7
7
  %tr{:class=>@ticket.ticket_type.tr_class}
8
8
 
9
9
  %td
10
-
10
+
11
11
  - unless @ticket.open?
12
12
  = t('helpdesk.tickets.ticket_closed')
13
13
  -else
14
- = simple_form_for([:admin, @ticket]) do |f|
14
+ = simple_form_for([:admin, @ticket], :html => {:class => 'form-horizontal' }) do |f|
15
15
  - if @ticket.errors.any?
16
16
  %div.error_explanation
17
17
  %h2
@@ -20,17 +20,17 @@
20
20
  - @ticket.errors.full_messages.each do |msg|
21
21
  %li
22
22
  = msg
23
- = f.input :status, :collection => tickets_statuses_for_select, include_blank: false
24
- = f.input :assignee_id, :collection => helpdesk_admin_collection
25
-
23
+ = f.input :status, :collection => Helpdesk::Ticket::STATUS_OPTIONS, include_blank: false
24
+ = f.input :assignee_id, :collection => User.where('helpdesk_admin = ?', true)
25
+
26
26
 
27
27
  = f.simple_fields_for :comments,@ticket.comments.build do |tickets_form|
28
28
  - unless tickets_form.object.persisted?
29
29
  = tickets_form.input :comment, :input_html=>{class: 'comment-textarea'}
30
30
  / , :as => :ckeditor, :input_html => { :ckeditor => {:toolbar => 'mini'},:language => I18n.locale}
31
31
 
32
- = tickets_form.input :public, :hint => t('helpdesk.tickets.visible_to_autor')
33
- = tickets_form.input :author_id, :as => :hidden, :input_html => { :value => helpdesk_user.id }
32
+ = tickets_form.input :public, :hint => t('helpdesk.tickets.visible_to_autor')
33
+ = tickets_form.input :author_id, :as => :hidden, :input_html => { :value => helpdesk_user.id }
34
34
  %div.form-actions
35
- = f.button :submit, :class => 'btn btn-primary'
36
- = submit_tag 'Anuluj', :type => :reset, :class => "btn btn-danger"
35
+ = f.button :submit, :class => 'btn-primary'
36
+ = submit_tag 'Anuluj', :type => :reset, :class => "btn btn-danger"
@@ -0,0 +1,33 @@
1
+ <%= form_for(@faq) do |f| %>
2
+ <% if @faq.errors.any? %>
3
+ <div id="error_explanation">
4
+ <h2><%= pluralize(@faq.errors.count, "error") %> prohibited this faq from being saved:</h2>
5
+
6
+ <ul>
7
+ <% @faq.errors.full_messages.each do |msg| %>
8
+ <li><%= msg %></li>
9
+ <% end %>
10
+ </ul>
11
+ </div>
12
+ <% end %>
13
+
14
+ <div class="field">
15
+ <%= f.label :title %><br />
16
+ <%= f.text_field :title %>
17
+ </div>
18
+ <div class="field">
19
+ <%= f.label :text %><br />
20
+ <%= f.text_area :text %>
21
+ </div>
22
+ <div class="field">
23
+ <%= f.label :position %><br />
24
+ <%= f.number_field :position %>
25
+ </div>
26
+ <div class="field">
27
+ <%= f.label :active %><br />
28
+ <%= f.check_box :active %>
29
+ </div>
30
+ <div class="actions">
31
+ <%= f.submit %>
32
+ </div>
33
+ <% end %>
@@ -0,0 +1,6 @@
1
+ <h1>Editing faq</h1>
2
+
3
+ <%= render 'form' %>
4
+
5
+ <%= link_to 'Show', @faq %> |
6
+ <%= link_to 'Back', faqs_path %>
@@ -0,0 +1,29 @@
1
+ <h1>Listing faqs</h1>
2
+
3
+ <table>
4
+ <tr>
5
+ <th>Title</th>
6
+ <th>Text</th>
7
+ <th>Position</th>
8
+ <th>Active</th>
9
+ <th></th>
10
+ <th></th>
11
+ <th></th>
12
+ </tr>
13
+
14
+ <% @faqs.each do |faq| %>
15
+ <tr>
16
+ <td><%= faq.title %></td>
17
+ <td><%= faq.text %></td>
18
+ <td><%= faq.position %></td>
19
+ <td><%= faq.active %></td>
20
+ <td><%= link_to 'Show', faq %></td>
21
+ <td><%= link_to 'Edit', edit_faq_path(faq) %></td>
22
+ <td><%= link_to 'Destroy', faq, confirm: 'Are you sure?', method: :delete %></td>
23
+ </tr>
24
+ <% end %>
25
+ </table>
26
+
27
+ <br />
28
+
29
+ <%= link_to 'New Faq', new_faq_path %>
@@ -0,0 +1,5 @@
1
+ <h1>New faq</h1>
2
+
3
+ <%= render 'form' %>
4
+
5
+ <%= link_to 'Back', faqs_path %>
@@ -0,0 +1,25 @@
1
+ <p id="notice"><%= notice %></p>
2
+
3
+ <p>
4
+ <b>Title:</b>
5
+ <%= @faq.title %>
6
+ </p>
7
+
8
+ <p>
9
+ <b>Text:</b>
10
+ <%= @faq.text %>
11
+ </p>
12
+
13
+ <p>
14
+ <b>Position:</b>
15
+ <%= @faq.position %>
16
+ </p>
17
+
18
+ <p>
19
+ <b>Active:</b>
20
+ <%= @faq.active %>
21
+ </p>
22
+
23
+
24
+ <%= link_to 'Edit', edit_faq_path(@faq) %> |
25
+ <%= link_to 'Back', faqs_path %>
@@ -0,0 +1,32 @@
1
+ !!!
2
+ %html
3
+ %body
4
+ %div
5
+ %h1
6
+ Wysłano opodiwedź do zgłoszenia
7
+ %div
8
+ %p
9
+ Odpowiedź dotyczy zgłoszenia
10
+ = @comment.ticket.subject
11
+ %p
12
+ Treść odpowiedzi:
13
+ %br
14
+ = simple_format(@comment.comment)
15
+ %br
16
+ %br
17
+ %p
18
+ Pod tym adresem można śledzić zgłoszenie:
19
+ %a{:href=>ticket_url(:locale=>I18n.locale, :id=>@comment.ticket)}<>
20
+ = ticket_url(:locale=>I18n.locale, :id=>@comment.ticket)
21
+ %br
22
+
23
+ %p
24
+ = Helpdesk.site_name
25
+ %br
26
+ %a{:href=>Helpdesk.site_address}
27
+ = Helpdesk.site_address
28
+ %div
29
+ Ta wiadomość została wygenrowana automatycznie. Nie odpowiadaj na nią. Jeśli nie zainicjowałeś akcji wysyłania tej wiadomości zgłoś to nam
30
+ %a{:href=>root_url}
31
+ klikając tutaj.
32
+
@@ -0,0 +1,28 @@
1
+ !!!
2
+ %html
3
+ %body
4
+ %div
5
+ %h1
6
+ ="#{@comment.ticket.requester.send Helpdesk.display_user.to_sym}, pojawiła się nowa odpowiedź do zgłoszenia: #{@comment.ticket.subject}"
7
+ %div
8
+ %p
9
+ Pod tym adresem możesz zobaczyć odpowiedź i swoje zgłoszenie:
10
+ %a{:href=>ticket_url(:locale=>I18n.locale, :id=>@comment.ticket, :anchor=>"comment#{@comment.id}")}<>
11
+ = ticket_url(:locale=>I18n.locale, :id=>@comment.ticket,:anchor=>"comment#{@comment.id}")
12
+ %p
13
+ Życzymy miłego dnia!
14
+ %br
15
+ = Helpdesk.site_name
16
+ %br
17
+ %a{:href=>Helpdesk.site_address}
18
+ = Helpdesk.site_address
19
+ %div
20
+ Ta wiadomość została wygenrowana automatycznie. Nie odpowiadaj na nią. Jeśli nie zainicjowałeś akcji wysyłania tej wiadomości zgłoś to nam
21
+ %a{:href=>root_url}
22
+ klikając tutaj.
23
+
24
+
25
+
26
+
27
+
28
+