diff --git a/app/assets/javascripts/notes.js b/app/assets/javascripts/notes.js index 10b29448d3..5337e1f253 100644 --- a/app/assets/javascripts/notes.js +++ b/app/assets/javascripts/notes.js @@ -49,7 +49,7 @@ jQuery(document).ready(function($) { if(eventDate!== null) { addTag("date:"+eventDate.val()); - alert("Event date has been added"); + //$('.toast').toast('show'); } }); }); diff --git a/app/views/notes/show.html.erb b/app/views/notes/show.html.erb index 8ef85910d2..1550c0be78 100644 --- a/app/views/notes/show.html.erb +++ b/app/views/notes/show.html.erb @@ -1,5 +1,4 @@ -
<% if @preview %>
<%= raw translation('notes.show.preview') %>
<% end %> <% if current_user && @node.tags.size == 0 && !@preview %>
<%= raw translation('notes.show.note_no_tags', url: 'javascript: document.getElementById("tags-open").click();') %>
<% end %> @@ -91,8 +90,17 @@

This looks like an event.

- + + + + Add date to your awesome event in this box + + + +
<% end %>