Skip to content

Commit

Permalink
Few tweaks
Browse files Browse the repository at this point in the history
Signed-off-by: Scott Miller <scott.miller.utah@gmail.com>
  • Loading branch information
scott committed May 31, 2015
1 parent 0a06b6f commit 6fa065a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions app/views/admin/_article_editor.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@
'link-tooltip': true
}
});
// quill.addModule('toolbar', {
// container: '#toolbar'
// });
<% if @post.nil? %>
quill.setHTML('<%= @doc.body.html_safe if @doc.body? %>');
<% else %>
quill.setHTML('<%= @post.body.html_safe unless @post.nil? %>');

<% end %>

quill.on('text-change', function(delta, source) {
//console.log(quill.getHTML());
$('#doc_body').val(quill.getHTML());
Expand Down
2 changes: 1 addition & 1 deletion app/views/admin/tickets.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<%#= render 'admin/ticket_stats' %>

<h2 id="ticket-page-title">
<%= t(:discussions, default: "Discussions: ") %> <%= render 'admin/ticket_nav_dropdown' %> <span class="hidden-xs pull-right"><%= link_to t(:open_new_discussion, default: "Open Discussion"), admin_new_ticket_path, remote: true, class: 'btn btn-primary' %></span>
<%= t(:discussions, default: "Discussions") %>: <span class='label <%= status_class(@status) %>' style='text-transform: uppercase'><%= status_label(@status) if @status %></span> <%= render 'admin/ticket_nav_dropdown' %> <span class="hidden-xs pull-right"><%= link_to t(:open_new_discussion, default: "Open Discussion"), admin_new_ticket_path, remote: true, class: 'btn btn-primary' %></span>
</h2>

<div class="row">
Expand Down
4 changes: 2 additions & 2 deletions app/views/home/_team_member.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<h4>
<%= team_member.name.titleize %><br/>
<span class="small less-important">
<%= team_member.company.titleize unless team_member.company.nil? %><br/>
<%= team_member.title.titleize unless team_member.title.nil? %>
<%#= team_member.company.titleize unless team_member.company.nil? %><br/>
<%#= team_member.title.titleize unless team_member.title.nil? %>
</span>
</h4>

Expand Down

0 comments on commit 6fa065a

Please sign in to comment.