ish_manager 0.1.8.372 → 0.1.8.373
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3520e812ccca2471e7fe71ead1f055303fec0da31efc52ae9f04aff94d80417b
|
4
|
+
data.tar.gz: a104b9335d5eb91a3bf2dbdd6c436bd89d98d91941ca74c6f429c55e362918b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10f48c22702c4b201fc3e9e969a5c12386e5483d0bcf926fa08edd948f29affd3f27e6bd6934ee17790bd2d41fcc167d7c809115fa2d170da5ece07c0822f3f0
|
7
|
+
data.tar.gz: 00716b9b403598d743672c793b2004e16681ab6749cea0bd2c866f08243af596181139b4850c0b7f44f85614bc18e35f111041f4d58e75beb7e959a956e30c61
|
@@ -7,7 +7,12 @@ class ::IshManager::EmailConversationsController < IshManager::ApplicationContro
|
|
7
7
|
|
8
8
|
def index
|
9
9
|
authorize! :email_conversations_index, IshManager::Ability
|
10
|
-
|
10
|
+
|
11
|
+
if params[:slug]
|
12
|
+
@email_conversations = ::Office::EmailConversation.in_emailtag( params[:slug] )
|
13
|
+
else
|
14
|
+
@email_conversations = ::Office::EmailConversation.all
|
15
|
+
end
|
11
16
|
end
|
12
17
|
|
13
18
|
def show
|
@@ -1,9 +1,16 @@
|
|
1
1
|
|
2
2
|
.email-conversations-index
|
3
3
|
|
4
|
-
.header
|
4
|
+
.second-header
|
5
5
|
%i.material-icons mail
|
6
|
-
|
6
|
+
= link_to email_conversations_in_emailtag_path(WpTag::EMAILTAG_INBOX) do
|
7
|
+
Inbox (#{Office::EmailConversation.in_inbox.length})
|
8
|
+
= link_to email_conversations_path do
|
9
|
+
All (#{Office::EmailConversation.all.length})
|
10
|
+
= link_to email_conversations_in_emailtag_path(WpTag::EMAILTAG_TRASH) do
|
11
|
+
Trash (#{Office::EmailConversation.in_emailtag(WpTag::EMAILTAG_TRASH).length})
|
12
|
+
|
13
|
+
Selected: #{params[:slug] || 'all' }
|
7
14
|
|
8
15
|
.actions
|
9
16
|
|
data/config/routes.rb
CHANGED
@@ -63,8 +63,9 @@ IshManager::Engine.routes.draw do
|
|
63
63
|
get 'email_messages/stripped/:id', to: 'email_messages#show_stripped', as: :email_message_stripped
|
64
64
|
resources :email_messages
|
65
65
|
|
66
|
-
get 'email_conversations',
|
67
|
-
get 'email_conversations/:
|
66
|
+
get 'email_conversations', to: 'email_conversations#index'
|
67
|
+
get 'email_conversations/in_emailtag/:slug', to: 'email_conversations#index', as: :email_conversations_in_emailtag
|
68
|
+
get 'email_conversations/show/:id', to: 'email_conversations#show', as: :email_conversation
|
68
69
|
|
69
70
|
get 'email_contexts/for_lead/:lead_id', to: 'email_contexts#index', as: :email_contexts_for_lead
|
70
71
|
get 'email_contexts/iframe_src/:id', to: 'email_contexts#iframe_src', as: :email_context_iframe
|