effective_messaging 0.1.0 → 0.1.1
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: f0eea64f40492ad73ee7e3228450bbafd9f5cfa0e199eb1c379c8df87dff49d3
|
4
|
+
data.tar.gz: 8a0155aec3dcae16dd827eab67247a2118a14dca98d710d7c612bb0db607994b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb4dfb952155bf4bd84b6bd0c97b51e579bc5536e93bd81bf8bb77dfca8852cdcb76b65d8a1b17b4bf8db63d19ea0e5d38052baf0369d79b3e76088ad6ba966e
|
7
|
+
data.tar.gz: bbd5a31a860fa10313378f33a86cd0cfde1e7e86b166e7941a77fc8101df13e7feaf9d8c19bfb7ce06409a73ef06c0b568116238ceaa5a1f1317a82fed1c69d7
|
@@ -1,10 +1,10 @@
|
|
1
1
|
= render 'layout' do
|
2
2
|
|
3
|
-
- label = content_tag(:strong, chat_message.name) + ' commented ' + time_ago_in_words(chat_message.created_at) + ' ago'
|
4
|
-
|
5
3
|
.card
|
6
4
|
.card-header
|
7
|
-
=
|
8
|
-
|
5
|
+
%strong= chat_message.name
|
6
|
+
commented
|
7
|
+
= time_ago_in_words(chat_message.created_at)
|
8
|
+
ago
|
9
9
|
.card-body
|
10
|
-
= simple_format
|
10
|
+
= simple_format(chat_message.body)
|
@@ -18,7 +18,7 @@
|
|
18
18
|
.card-header.bg-secondary
|
19
19
|
Send message
|
20
20
|
.card-body
|
21
|
-
%p Your name is displayed as <strong>#{chat_user.name}</strong
|
21
|
+
%p Your name is displayed as <strong>#{chat_user.name}</strong>
|
22
22
|
|
23
23
|
= f.fields_for :chat_messages, chat_message do |fcm|
|
24
24
|
- # The user and name are set by controller's current_user
|