helpdesk 0.0.14 → 0.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/controllers/helpdesk/admin/base_controller.rb +1 -1
- data/app/controllers/helpdesk/admin/faqs_controller.rb +7 -2
- data/app/controllers/helpdesk/admin/subscribers_controller.rb +8 -2
- data/app/controllers/helpdesk/admin/ticket_types_controller.rb +9 -3
- data/app/controllers/helpdesk/admin/tickets_controller.rb +10 -3
- data/app/controllers/helpdesk/application_controller.rb +2 -11
- data/app/controllers/helpdesk/dashboard_controller.rb +1 -1
- data/app/controllers/helpdesk/subscribers_controller.rb +8 -31
- data/app/controllers/helpdesk/tickets_controller.rb +14 -9
- data/app/helpers/helpdesk/admin/tickets_helper.rb +9 -0
- data/app/helpers/helpdesk/tickets_helper.rb +3 -0
- data/app/mailers/helpdesk/notifications_mailer.rb +2 -1
- data/app/models/helpdesk/comment.rb +2 -3
- data/app/models/helpdesk/faq.rb +1 -1
- data/app/models/helpdesk/ticket.rb +19 -23
- data/app/models/helpdesk/ticket_type.rb +4 -4
- data/app/views/helpdesk/admin/tickets/_form.html.haml +2 -2
- data/app/views/helpdesk/admin/tickets/_ticket.html.haml +2 -1
- data/app/views/helpdesk/admin/tickets/show.html.haml +2 -2
- data/app/views/helpdesk/faqs/index.html.haml +1 -1
- data/app/views/helpdesk/notifications_mailer/comment_by_helpdesk_confirmation.html.haml +15 -0
- data/app/views/helpdesk/notifications_mailer/comment_by_helpdesk_notification.html.haml +19 -0
- data/app/views/helpdesk/notifications_mailer/comment_by_requester_confirmation.html.haml +16 -0
- data/app/views/helpdesk/notifications_mailer/comment_by_requester_notification.html.haml +27 -0
- data/app/views/helpdesk/notifications_mailer/ticket_created_confirmation.html.haml +16 -0
- data/app/views/helpdesk/notifications_mailer/ticket_created_notification.html.haml +21 -0
- data/app/views/helpdesk/tickets/_form.html.haml +3 -3
- data/app/views/layouts/helpdesk/_topmenu.html.haml +16 -14
- data/app/views/layouts/helpdesk/_topuser.html.haml +13 -0
- data/app/views/layouts/mailer_layout.html.haml +20 -0
- data/config/initializers/globalize.rb +4 -4
- data/config/locales/helpdesk.en.yml +34 -4
- data/config/locales/helpdesk.pl.yml +38 -0
- data/config/routes.rb +1 -1
- data/db/migrate/20130521105605_create_helpdesk_ticket_types.rb +1 -0
- data/lib/generators/helpdesk/install_generator.rb +6 -7
- data/lib/generators/helpdesk/templates/README +14 -6
- data/lib/generators/helpdesk/templates/helpdesk.rb +3 -6
- data/lib/helpdesk.rb +0 -2
- data/lib/helpdesk/engine.rb +3 -1
- data/lib/helpdesk/version.rb +1 -1
- metadata +40 -26
- data/app/mailers/helpdesk/comment_by_requester_confirmation +0 -38
- data/app/views/helpdesk/notifications_mailer/comment_by_helpdesk_confirmation.pl.html.haml +0 -32
- data/app/views/helpdesk/notifications_mailer/comment_by_helpdesk_notification.pl.html.haml +0 -33
- data/app/views/helpdesk/notifications_mailer/comment_by_requester_confirmation.pl.html.haml +0 -32
- data/app/views/helpdesk/notifications_mailer/comment_by_requester_notification.pl.html.haml +0 -42
- data/app/views/helpdesk/notifications_mailer/ticket_created_confirmation.pl.html.haml +0 -34
- data/app/views/helpdesk/notifications_mailer/ticket_created_notification.pl.html.haml +0 -42
@@ -5,19 +5,27 @@ You need to do some manual setup to get Helpdesk working:
|
|
5
5
|
1. Review settings in new config/initializers/helpdesk.rb and update where
|
6
6
|
neccessary.
|
7
7
|
|
8
|
-
2. Add
|
9
|
-
|
8
|
+
2. Add 3 methods to your applications application_controller.rb
|
9
|
+
* helpdesk_user - to exposes your current_user
|
10
|
+
* helpdesk_admin? - to check privileges
|
11
|
+
* helpdesk_admins_collection - to list all admin
|
10
12
|
|
11
|
-
Example, for devise
|
12
|
-
|
13
|
+
Example, for app with devise&rolify gems:
|
14
|
+
application_controller.rb:
|
15
|
+
|
16
|
+
helper_method :helpdesk_user,:helpdesk_admin?,:helpdesk_admin_collection
|
13
17
|
def helpdesk_user
|
14
18
|
current_user
|
15
19
|
end
|
16
20
|
|
17
21
|
def helpdesk_admin?
|
18
|
-
current_user.admin
|
22
|
+
current_user.has_role? :admin
|
23
|
+
end
|
24
|
+
|
25
|
+
def helpdesk_admin_collection
|
26
|
+
(Helpdesk.user_class).with_role(:admin)
|
19
27
|
end
|
20
28
|
|
21
|
-
3.
|
29
|
+
3. Restart app
|
22
30
|
|
23
31
|
===============================================================================
|
@@ -1,23 +1,20 @@
|
|
1
1
|
require 'helpdesk'
|
2
2
|
|
3
3
|
::Helpdesk.setup do |config|
|
4
|
-
# Class that represents the user
|
4
|
+
# Class that represents the user/admin
|
5
5
|
config.user_class = "User"
|
6
6
|
|
7
7
|
# Method usign to display information about user for users
|
8
8
|
config.display_user = "name"
|
9
9
|
|
10
10
|
# Method usign to display information about user for admins (name+id?)
|
11
|
-
config.display_user_uniq_info = "
|
11
|
+
config.display_user_uniq_info = "email"
|
12
12
|
|
13
13
|
# Require User to be present in order to access Helpdesk
|
14
14
|
config.require_user = true
|
15
15
|
|
16
16
|
# Base application sign in route name
|
17
|
-
config.sign_in_url = '
|
18
|
-
|
19
|
-
# Ticket issue types
|
20
|
-
config.issue_types = ['bug', 'change request', 'new feature']
|
17
|
+
config.sign_in_url = 'new_user_session_path'
|
21
18
|
|
22
19
|
# Helpdesk email for notification
|
23
20
|
config.email = 'helpdesk@example.com'
|
data/lib/helpdesk.rb
CHANGED
data/lib/helpdesk/engine.rb
CHANGED
@@ -4,10 +4,12 @@ require 'state_machine'
|
|
4
4
|
require 'bootstrap-sass'
|
5
5
|
require 'rails_autolink'
|
6
6
|
require 'simple_form'
|
7
|
-
require '
|
7
|
+
require 'globalize'
|
8
8
|
require 'batch_translations'
|
9
9
|
require 'ckeditor'
|
10
10
|
require 'chosen-rails'
|
11
|
+
require 'kaminari'
|
12
|
+
require 'jquery-ui-rails'
|
11
13
|
|
12
14
|
module Helpdesk
|
13
15
|
class Engine < ::Rails::Engine
|
data/lib/helpdesk/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: helpdesk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Beynon Wacław Łuczak
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-03-
|
11
|
+
date: 2014-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: launchy
|
@@ -150,20 +150,6 @@ dependencies:
|
|
150
150
|
- - '>='
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: kaminari
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - '>='
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '0'
|
160
|
-
type: :runtime
|
161
|
-
prerelease: false
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - '>='
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: '0'
|
167
153
|
- !ruby/object:Gem::Dependency
|
168
154
|
name: haml-rails
|
169
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -206,6 +192,34 @@ dependencies:
|
|
206
192
|
- - '='
|
207
193
|
- !ruby/object:Gem::Version
|
208
194
|
version: 0.12.2
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: kaminari
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - '>='
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
202
|
+
type: :runtime
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - '>='
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: jquery-ui-rails
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - '>='
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
type: :runtime
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - '>='
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
209
223
|
- !ruby/object:Gem::Dependency
|
210
224
|
name: chosen-rails
|
211
225
|
requirement: !ruby/object:Gem::Requirement
|
@@ -254,14 +268,14 @@ dependencies:
|
|
254
268
|
requirements:
|
255
269
|
- - '>='
|
256
270
|
- !ruby/object:Gem::Version
|
257
|
-
version:
|
271
|
+
version: 4.0.0
|
258
272
|
type: :runtime
|
259
273
|
prerelease: false
|
260
274
|
version_requirements: !ruby/object:Gem::Requirement
|
261
275
|
requirements:
|
262
276
|
- - '>='
|
263
277
|
- !ruby/object:Gem::Version
|
264
|
-
version:
|
278
|
+
version: 4.0.0
|
265
279
|
- !ruby/object:Gem::Dependency
|
266
280
|
name: sass-rails
|
267
281
|
requirement: !ruby/object:Gem::Requirement
|
@@ -305,7 +319,7 @@ dependencies:
|
|
305
319
|
- !ruby/object:Gem::Version
|
306
320
|
version: '0'
|
307
321
|
- !ruby/object:Gem::Dependency
|
308
|
-
name:
|
322
|
+
name: globalize
|
309
323
|
requirement: !ruby/object:Gem::Requirement
|
310
324
|
requirements:
|
311
325
|
- - '>='
|
@@ -390,7 +404,6 @@ files:
|
|
390
404
|
- app/helpers/helpdesk/helpdesk_helper.rb
|
391
405
|
- app/helpers/helpdesk/subscribers_helper.rb
|
392
406
|
- app/helpers/helpdesk/tickets_helper.rb
|
393
|
-
- app/mailers/helpdesk/comment_by_requester_confirmation
|
394
407
|
- app/mailers/helpdesk/notifications_mailer.rb
|
395
408
|
- app/models/helpdesk/comment.rb
|
396
409
|
- app/models/helpdesk/faq.rb
|
@@ -425,12 +438,12 @@ files:
|
|
425
438
|
- app/views/helpdesk/admin/tickets/show.html.haml
|
426
439
|
- app/views/helpdesk/dashboard/index.html.erb
|
427
440
|
- app/views/helpdesk/faqs/index.html.haml
|
428
|
-
- app/views/helpdesk/notifications_mailer/comment_by_helpdesk_confirmation.
|
429
|
-
- app/views/helpdesk/notifications_mailer/comment_by_helpdesk_notification.
|
430
|
-
- app/views/helpdesk/notifications_mailer/comment_by_requester_confirmation.
|
431
|
-
- app/views/helpdesk/notifications_mailer/comment_by_requester_notification.
|
432
|
-
- app/views/helpdesk/notifications_mailer/ticket_created_confirmation.
|
433
|
-
- app/views/helpdesk/notifications_mailer/ticket_created_notification.
|
441
|
+
- app/views/helpdesk/notifications_mailer/comment_by_helpdesk_confirmation.html.haml
|
442
|
+
- app/views/helpdesk/notifications_mailer/comment_by_helpdesk_notification.html.haml
|
443
|
+
- app/views/helpdesk/notifications_mailer/comment_by_requester_confirmation.html.haml
|
444
|
+
- app/views/helpdesk/notifications_mailer/comment_by_requester_notification.html.haml
|
445
|
+
- app/views/helpdesk/notifications_mailer/ticket_created_confirmation.html.haml
|
446
|
+
- app/views/helpdesk/notifications_mailer/ticket_created_notification.html.haml
|
434
447
|
- app/views/helpdesk/subscribers/_form.html.erb
|
435
448
|
- app/views/helpdesk/subscribers/edit.html.erb
|
436
449
|
- app/views/helpdesk/subscribers/index.html.erb
|
@@ -446,6 +459,7 @@ files:
|
|
446
459
|
- app/views/layouts/helpdesk/_topuser.html.haml
|
447
460
|
- app/views/layouts/helpdesk/admin.html.haml
|
448
461
|
- app/views/layouts/helpdesk/user.html.haml
|
462
|
+
- app/views/layouts/mailer_layout.html.haml
|
449
463
|
- config/initializers/globalize.rb
|
450
464
|
- config/initializers/simple_form.rb
|
451
465
|
- config/locales/helpdesk.en.yml
|
@@ -1,38 +0,0 @@
|
|
1
|
-
!!!
|
2
|
-
%html
|
3
|
-
%body
|
4
|
-
%div
|
5
|
-
%h1
|
6
|
-
Pojawił się nowy komentarz do zgłoszenie:
|
7
|
-
= @comment.ticket.ticket_type.title
|
8
|
-
%div.content
|
9
|
-
%p
|
10
|
-
Treść wysłana:
|
11
|
-
%br
|
12
|
-
= simple_format(@comment.comment)
|
13
|
-
%br
|
14
|
-
%br
|
15
|
-
%p
|
16
|
-
Zgłaszający:
|
17
|
-
%br
|
18
|
-
= @comment.author.send Helpdesk.display_user.to_sym
|
19
|
-
= @comment.author.email
|
20
|
-
%br
|
21
|
-
%br
|
22
|
-
%p
|
23
|
-
Życzymy miłego dnia!
|
24
|
-
%br
|
25
|
-
= Helpdesk.site_name
|
26
|
-
%br
|
27
|
-
%a{:href=>Helpdesk.site_address}
|
28
|
-
= Helpdesk.site_address
|
29
|
-
%div
|
30
|
-
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
|
31
|
-
%a{:href=>root_url}
|
32
|
-
klikając tutaj.
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
@@ -1,32 +0,0 @@
|
|
1
|
-
!!!
|
2
|
-
%html
|
3
|
-
%body
|
4
|
-
%div
|
5
|
-
%h1
|
6
|
-
Wysłano odpowiedź 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
|
-
|
@@ -1,33 +0,0 @@
|
|
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
|
-
Treść odpowiedzi:
|
10
|
-
%br
|
11
|
-
= simple_format(@comment.comment)
|
12
|
-
%br
|
13
|
-
%p
|
14
|
-
Pod tym adresem, będąc zalogowanym, możesz odpowiedzieć oraz zobaczyć historie zgłoszenia:
|
15
|
-
%a{:href=>ticket_url(:locale=>I18n.locale, :id=>@comment.ticket, :anchor=>"comment#{@comment.id}")}<>
|
16
|
-
= ticket_url(:locale=>I18n.locale, :id=>@comment.ticket,:anchor=>"comment#{@comment.id}")
|
17
|
-
%p
|
18
|
-
Życzymy miłego dnia!
|
19
|
-
%br
|
20
|
-
= Helpdesk.site_name
|
21
|
-
%br
|
22
|
-
%a{:href=>Helpdesk.site_address}
|
23
|
-
= Helpdesk.site_address
|
24
|
-
%div
|
25
|
-
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
|
26
|
-
%a{:href=>root_url}
|
27
|
-
klikając tutaj.
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
@@ -1,32 +0,0 @@
|
|
1
|
-
!!!
|
2
|
-
%html
|
3
|
-
%body
|
4
|
-
%div
|
5
|
-
%h1
|
6
|
-
#{@comment.author.send Helpdesk.display_user.to_sym}, dziękujemy za przesłanie odpowiedzi do zgłoszenia
|
7
|
-
%div
|
8
|
-
%p
|
9
|
-
Odpowiedź dotyczyła Twojego zgłoszenia -
|
10
|
-
= @comment.ticket.subject
|
11
|
-
%p
|
12
|
-
Treść odpowiedzi:
|
13
|
-
%br
|
14
|
-
= simple_format(@comment.comment)
|
15
|
-
%p
|
16
|
-
Pod tym adresem, będąc zalogowanym, możesz śledzić zgłoszenie:
|
17
|
-
%a{:href=>ticket_url(:locale=>I18n.locale, :id=>@comment.ticket)}<>
|
18
|
-
= ticket_url(:locale=>I18n.locale, :id=>@comment.ticket)
|
19
|
-
%br
|
20
|
-
Cenimy Twój czas, dlatego staramy się odpowiadać, tak szybko jak to możliwe.
|
21
|
-
%p
|
22
|
-
Życzymy miłego dnia!
|
23
|
-
%br
|
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
|
-
|
@@ -1,42 +0,0 @@
|
|
1
|
-
!!!
|
2
|
-
%html
|
3
|
-
%body
|
4
|
-
%div
|
5
|
-
%h1
|
6
|
-
Pojawiła się nowa odpowiedź do zgłoszenie:
|
7
|
-
= @comment.ticket.ticket_type.title
|
8
|
-
%div.content
|
9
|
-
%p
|
10
|
-
Treść wysłana:
|
11
|
-
%br
|
12
|
-
= simple_format(@comment.comment)
|
13
|
-
%br
|
14
|
-
%br
|
15
|
-
%p
|
16
|
-
Zgłaszający:
|
17
|
-
%br
|
18
|
-
= @comment.author.send Helpdesk.display_user.to_sym
|
19
|
-
= @comment.author.email
|
20
|
-
%br
|
21
|
-
%br
|
22
|
-
%p
|
23
|
-
Pod tym adresem możesz zobaczyć tą odpowiedź na zgłoszenie:
|
24
|
-
%a{:href=>admin_ticket_url(:locale=>I18n.locale, :id=>@comment.ticket, :anchor=>"comment#{@comment.id}")}<>
|
25
|
-
= admin_ticket_url(:locale=>I18n.locale, :id=>@comment.ticket,:anchor=>"comment#{@comment.id}")
|
26
|
-
%p
|
27
|
-
Życzymy miłego dnia!
|
28
|
-
%br
|
29
|
-
= Helpdesk.site_name
|
30
|
-
%br
|
31
|
-
%a{:href=>Helpdesk.site_address}
|
32
|
-
= Helpdesk.site_address
|
33
|
-
%div
|
34
|
-
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
|
35
|
-
%a{:href=>root_url}
|
36
|
-
klikając tutaj.
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
@@ -1,34 +0,0 @@
|
|
1
|
-
!!!
|
2
|
-
%html
|
3
|
-
%body
|
4
|
-
%div
|
5
|
-
%h1
|
6
|
-
#{@ticket.requester.send Helpdesk.display_user.to_sym}, dziękujemy za przesłanie zgłoszenia
|
7
|
-
%div
|
8
|
-
%p
|
9
|
-
Temat Twojego zgłoszenia to
|
10
|
-
= @ticket.subject
|
11
|
-
%p
|
12
|
-
Treść zgłoszenia:
|
13
|
-
%br
|
14
|
-
= simple_format(@ticket.description)
|
15
|
-
%br
|
16
|
-
%br
|
17
|
-
%p
|
18
|
-
Pod tym adresem możesz śledzić status zgłoszenia:
|
19
|
-
%a{:href=>ticket_url(:locale=>I18n.locale, :id=>@ticket)}<>
|
20
|
-
= ticket_url(:locale=>I18n.locale, :id=>@ticket)
|
21
|
-
%br
|
22
|
-
Cenimy Twój czas, dlatego staramy się odpowiadać, tak szybko jak to możliwe.
|
23
|
-
%p
|
24
|
-
Życzymy miłego dnia!
|
25
|
-
%br
|
26
|
-
= Helpdesk.site_name
|
27
|
-
%br
|
28
|
-
%a{:href=>Helpdesk.site_address}
|
29
|
-
= Helpdesk.site_address
|
30
|
-
%div
|
31
|
-
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
|
32
|
-
%a{:href=>root_url}
|
33
|
-
klikając tutaj.
|
34
|
-
|
@@ -1,42 +0,0 @@
|
|
1
|
-
!!!
|
2
|
-
%html
|
3
|
-
%body
|
4
|
-
%div
|
5
|
-
%h1
|
6
|
-
Pojawiło się nowe zgłoszenie:
|
7
|
-
= @ticket.ticket_type.title
|
8
|
-
%div.content
|
9
|
-
%p
|
10
|
-
Treść wysłana:
|
11
|
-
%br
|
12
|
-
= simple_format(@ticket.description)
|
13
|
-
%br
|
14
|
-
%br
|
15
|
-
%p
|
16
|
-
Zgłaszający:
|
17
|
-
%br
|
18
|
-
= @ticket.requester.name
|
19
|
-
= @ticket.requester.email
|
20
|
-
%br
|
21
|
-
%br
|
22
|
-
%p
|
23
|
-
Pod tym adresem możesz zobaczyć to zgłoszenie:
|
24
|
-
%a{:href=>admin_ticket_url(:locale=>I18n.locale, :id=>@ticket)}<>
|
25
|
-
= admin_ticket_url(:locale=>I18n.locale, :id=>@ticket)
|
26
|
-
%p
|
27
|
-
Życzymy miłego dnia!
|
28
|
-
%br
|
29
|
-
= Helpdesk.site_name
|
30
|
-
%br
|
31
|
-
%a{:href=>Helpdesk.site_address}
|
32
|
-
= Helpdesk.site_address
|
33
|
-
%div
|
34
|
-
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
|
35
|
-
%a{:href=>root_url}
|
36
|
-
klikając tutaj.
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|