wco_email 0.1.1.32 → 0.1.1.33

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: 18277505658153c7d7c5eab9423ea2ba6c41c6caa7806585c7bd27d5902c8e25
4
- data.tar.gz: e3ff9e176cf33852a644e69c7656525c433912c6d8779e2df4ebf2bfa683ea95
3
+ metadata.gz: 78fb2701aceae49be8e71f766e2230de18fdae793ee34d281e8d0f654de7547c
4
+ data.tar.gz: 6818673a5cadaef98218df37c829f4f1fb9e0ca93d04381ea7ca9519548fd170
5
5
  SHA512:
6
- metadata.gz: 0fc8baa3bb7116f9dbe7fe1b8461967f742e81174b0e43a45b50464e708c24f5c68b4bc079cebb26f7c78c7c4625fa5e1626e4595c235dabd92604da3b68e573
7
- data.tar.gz: 3ad9d39f189133c42996a71da24910101a08ba28871735b08221c53fc2ac64ea25c1c975c366faff6631abbd4974906d3812808f5c2e06f10ee30f3cfdeae87c
6
+ metadata.gz: 725603d48b9c7fefbc9e9d4b2d42c4643e203d0cc2cde8356c4b79e3c6fc3d94e6f99ac12632d6bcdb401827d7607dff930f1921a9eaeffab1585ea85cfc1069
7
+ data.tar.gz: dfb45143933acb188bcc45f5d80831a2a0f4d07087d340d0b1596f87793d0976dd78b1193f63b8f1d22d8ef51ad369d30905dce96873376160240b1efef2a4b0
@@ -44,7 +44,7 @@ class WcoEmail::ConversationsController < WcoEmail::ApplicationController
44
44
  end
45
45
 
46
46
  @conversations = @conversations.order_by( latest_at: :desc
47
- ).includes( :leads
47
+ ).includes( :leads, :messages
48
48
  ).page( params[:conv_page]
49
49
  ).per( current_profile.per_page
50
50
  )
@@ -58,7 +58,7 @@
58
58
  -# %span.absolute.collapse-expand#mainW
59
59
  -# = yield
60
60
 
61
- .flex-row
61
+ .padded.flex-row
62
62
  = yield :sidebar
63
63
  %span.absolute.collapse-expand#mainW
64
64
  = yield
@@ -7,4 +7,5 @@
7
7
  -# (#{tag.conversations.unread.length}, #{tag.conversations.length})
8
8
  (#{tag.conversations.unread.length})
9
9
  (#{tag.conversations.length})
10
+ = link_to "not", email_conversations_not_in_path( tag.slug )
10
11
 
@@ -1,14 +1,16 @@
1
1
 
2
2
  .conversations--actions.bordered.d-flex
3
- %a.btn.archive-btn{ href: "javascript: void(0)", data: { url: conversations_rmtag_path(Wco::Tag::INBOX) } }
4
- %i.material-icons archive
5
- archive
6
- %a.btn.delete-btn{ href: "javascript: void(0)", data: { url: conversations_path } }
7
- %i.material-icons delete
8
- delete
9
- %a.btn.reload-btn{ href: "javascript: location.reload()" }
10
- %i.material-icons refresh
11
- refresh
3
+
4
+ -# %a.btn.archive-btn{ href: "javascript: void(0)", data: { url: conversations_rmtag_path(Wco::Tag::INBOX) } }
5
+ -# %i.material-icons archive
6
+ -# archive
7
+ -# %a.btn.delete-btn{ href: "javascript: void(0)", data: { url: conversations_path } }
8
+ -# %i.material-icons delete
9
+ -# delete
10
+ -# %a.btn.reload-btn{ href: "javascript: location.reload()" }
11
+ -# %i.material-icons refresh
12
+ -# refresh
13
+
12
14
  .bordered.inline-block
13
15
  .d-inline-block
14
16
  = select_tag :emailtag, options_for_select(@tags_list), class: 'select2'
@@ -9,6 +9,7 @@
9
9
  Tag `#{@tag}`
10
10
  - if @tag_not
11
11
  Tag-not `#{@tag_not}`
12
+ (#{@conversations.length})
12
13
  = render '/wco_email/conversations/actions'
13
14
 
14
15
  = render '/wco/paginate', resource: @conversations, param_name: :conv_page
data/config/routes.rb CHANGED
@@ -8,7 +8,7 @@ WcoEmail::Engine.routes.draw do
8
8
 
9
9
  # get 'conversations', to: '/wco_email/conversations#index', as: :email_conversations
10
10
  get 'conversations/in/:tagname', to: '/wco_email/conversations#index', as: :email_conversations_in
11
- get 'conversations/not-in/:tagname_not', to: '/wco_email/conversations#index', as: :email_conversations_in_not
11
+ get 'conversations/not-in/:tagname_not', to: '/wco_email/conversations#index', as: :email_conversations_not_in
12
12
  get 'conversations/:id', to: '/wco_email/conversations#show', as: :email_conversation
13
13
  post 'conversations/:id1/merge/:id2', to: '/wco_email/conversations#merge', as: :merge_email_conversations
14
14
  post 'conversations/addtag', to: 'conversations#addtag'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wco_email
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1.32
4
+ version: 0.1.1.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Pudeyev