helpdesk 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/helpdesk/admin/tickets.js +13 -1
- data/app/assets/javascripts/helpdesk/application.js +1 -0
- data/app/assets/stylesheets/helpdesk/admin.css +1 -0
- data/app/views/helpdesk/admin/tickets/_form.html.haml +1 -1
- data/app/views/helpdesk/notifications_mailer/comment_by_helpdesk_notification.pl.html.haml +7 -2
- data/app/views/helpdesk/notifications_mailer/comment_by_requester_confirmation.pl.html.haml +3 -3
- data/lib/helpdesk/engine.rb +1 -0
- data/lib/helpdesk/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2690af30a0182813389d3feed19ddcfd22e26890
|
4
|
+
data.tar.gz: 6f88891cb9325df32543830a55e05757908a74f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e58b448e3e30d868d55c52a40ed8e189103ab9934d55bc555f08d5992e9fd6bf87cc0008f2e0aa82b3129a17799d4ef075e3b6e378688e851f3bbec329b7b387
|
7
|
+
data.tar.gz: 4c8d763baa2bc3a1d062d23790d571d7d6446d667ea9b80ef15b8b085038d65cb1e57bb3ac431c7bc170ee5a28ea679a21959d84d5956de4bac52c5c2e14c6c3
|
@@ -5,4 +5,16 @@ $(document).ready(function(){
|
|
5
5
|
$('a[href*="#"]').click(function(){
|
6
6
|
$($(this).attr("href")).effect("highlight", {}, 1500);
|
7
7
|
});
|
8
|
-
});
|
8
|
+
});
|
9
|
+
|
10
|
+
(function() {
|
11
|
+
$(function() {
|
12
|
+
return $('.chosen-select').chosen({
|
13
|
+
allow_single_deselect: true,
|
14
|
+
placeholder_text: 'Wybierz',
|
15
|
+
no_results_text: 'Nie znaleziono pasujÄ
cych',
|
16
|
+
width: '220px'
|
17
|
+
});
|
18
|
+
});
|
19
|
+
|
20
|
+
}).call(this)
|
@@ -7,7 +7,7 @@
|
|
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
|
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
11
|
= f.input :subject
|
12
12
|
= f.input :status, :collection => Helpdesk::Ticket::STATUS_OPTIONS, include_blank: false
|
13
13
|
= f.input :assignee_id, :collection => User.where('helpdesk_admin = ?', true)
|
@@ -6,7 +6,12 @@
|
|
6
6
|
="#{@comment.ticket.requester.send Helpdesk.display_user.to_sym}, pojawiła się nowa odpowiedź do zgłoszenia: #{@comment.ticket.subject}"
|
7
7
|
%div
|
8
8
|
%p
|
9
|
-
|
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:
|
10
15
|
%a{:href=>ticket_url(:locale=>I18n.locale, :id=>@comment.ticket, :anchor=>"comment#{@comment.id}")}<>
|
11
16
|
= ticket_url(:locale=>I18n.locale, :id=>@comment.ticket,:anchor=>"comment#{@comment.id}")
|
12
17
|
%p
|
@@ -21,7 +26,7 @@
|
|
21
26
|
%a{:href=>root_url}
|
22
27
|
klikając tutaj.
|
23
28
|
|
24
|
-
|
29
|
+
|
25
30
|
|
26
31
|
|
27
32
|
|
@@ -6,14 +6,14 @@
|
|
6
6
|
#{@comment.author.send Helpdesk.display_user.to_sym}, dziękujemy za przesłanie odpowiedzi do zgłoszenia
|
7
7
|
%div
|
8
8
|
%p
|
9
|
-
Odpowiedź dotyczyła Twojego zgłoszenia -
|
9
|
+
Odpowiedź dotyczyła Twojego zgłoszenia -
|
10
10
|
= @comment.ticket.subject
|
11
11
|
%p
|
12
12
|
Treść odpowiedzi:
|
13
13
|
%br
|
14
14
|
= simple_format(@comment.comment)
|
15
15
|
%p
|
16
|
-
Pod tym adresem możesz śledzić zgłoszenie:
|
16
|
+
Pod tym adresem, będąc zalogowanym, możesz śledzić zgłoszenie:
|
17
17
|
%a{:href=>ticket_url(:locale=>I18n.locale, :id=>@comment.ticket)}<>
|
18
18
|
= ticket_url(:locale=>I18n.locale, :id=>@comment.ticket)
|
19
19
|
%br
|
@@ -29,4 +29,4 @@
|
|
29
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
30
|
%a{:href=>root_url}
|
31
31
|
klikając tutaj.
|
32
|
-
|
32
|
+
|
data/lib/helpdesk/engine.rb
CHANGED
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.6
|
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: 2013-09-
|
11
|
+
date: 2013-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: launchy
|
@@ -136,6 +136,20 @@ dependencies:
|
|
136
136
|
- - '>='
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: chosen-rails
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - '>='
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - '>='
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
139
153
|
- !ruby/object:Gem::Dependency
|
140
154
|
name: rails_autolink
|
141
155
|
requirement: !ruby/object:Gem::Requirement
|