ish_manager 0.1.8.475 → 0.1.8.476
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25a1c311a0b599ca5647ea2f3125670e5f6d2a30961fd9bdc910cff357b2f898
|
4
|
+
data.tar.gz: 3e36fdeebf66357575f5f7dd03bf4423cb48efae59d01fae1b121e9f9f8b5023
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d17b1fc1c52597aba2b6b1619528d037560c96ada41a32bf6a415fcf6ec18423a5a7ce645d1fd193c959fbad970b0fd1ce122eaa7e6508eed4dbfb28430df7d
|
7
|
+
data.tar.gz: 07ce5ba415150ee7183978f3816b433dd633cec7ab9b22248172a1833538742963f60229fcaff3303b87cbbbdb21476a6b2e525fad3b0a31a00dd85721a52f73
|
@@ -32,7 +32,7 @@ class ::IshManager::EmailConversationsController < IshManager::ApplicationContro
|
|
32
32
|
def show
|
33
33
|
authorize! :email_conversations_show, IshManager::Ability
|
34
34
|
@email_conversation = ::Office::EmailConversation.find( params[:id] )
|
35
|
-
@email_messages
|
35
|
+
@email_messages = @email_conversation.email_messages.order_by( date: :asc )
|
36
36
|
@email_conversation.update_attributes({ state: Conv::STATE_READ })
|
37
37
|
end
|
38
38
|
|
@@ -132,11 +132,12 @@ class ::IshManager::LeadsController < IshManager::ApplicationController
|
|
132
132
|
end
|
133
133
|
|
134
134
|
def show
|
135
|
-
@lead
|
135
|
+
@lead = Lead.find params[:id]
|
136
136
|
authorize! :show, @lead
|
137
|
-
@schs
|
138
|
-
@ctxs
|
139
|
-
@
|
137
|
+
@schs = Sch.where( lead_id: @lead.id )
|
138
|
+
@ctxs = Ctx.where( lead_id: @lead.id )
|
139
|
+
@convs = Conv.find( Office::EmailConversationLead.where( lead_id: @lead.id ).map( &:email_conversation_id ) )
|
140
|
+
@msgs = Msg.where( from: @lead.email )
|
140
141
|
@galleries = @lead.galleries.page( params[:galleries_page] ).per( current_profile.per_page )
|
141
142
|
@videos = @lead.videos.page( params[:videos_page] ).per( current_profile.per_page )
|
142
143
|
end
|
@@ -71,13 +71,11 @@
|
|
71
71
|
|
72
72
|
.row
|
73
73
|
.col-md-12.msgs
|
74
|
-
%h5 Email
|
75
|
-
.descr @TODO: these used to be links, but now they are broken. _vp_ 2023-08-10
|
74
|
+
%h5 Email Conversations (#{@convs.length})
|
76
75
|
%ul
|
77
|
-
- @
|
76
|
+
- @convs.each do |conv|
|
78
77
|
%li
|
79
|
-
=
|
80
|
-
-# = link_to msg.subject, email_conversation_path( msg.conv )
|
78
|
+
= link_to conv.subject, email_conversation_path( conv )
|
81
79
|
|
82
80
|
.row
|
83
81
|
.col-md-6
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ish_manager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.8.
|
4
|
+
version: 0.1.8.476
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- piousbox
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-09-
|
11
|
+
date: 2023-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|