Skip to content

Commit

Permalink
Remove bottom links, add channels email link to user edit page
Browse files Browse the repository at this point in the history
  • Loading branch information
thesecretmaster committed Jul 13, 2020
1 parent e520f6d commit e46972f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
7 changes: 7 additions & 0 deletions app/views/custom_registrations/edit.html.erb
Expand Up @@ -81,6 +81,13 @@
</div>
</div>

<div class="panel panel-default">
<div class="panel-body">
<h3>Stack Overflow Channel email</h3>
<%= link_to 'Get sign up information for Stack Overflow Channels', channels_email_path, class: 'btn btn-primary' %>
</div>
</div>

<div class="panel panel-danger">
<div class="panel-body">
<h3 class="text-danger">Cancel my account</h3>
Expand Down
6 changes: 0 additions & 6 deletions app/views/dashboard/new_dash.html.erb
Expand Up @@ -99,9 +99,3 @@
<li><strong><%= Post.autoflagged.fp.count %></strong> (<%= ((Post.autoflagged.fp.count.to_f / Post.autoflagged.count) * 100).round(2) %>%) FP</li>
</ul>
</p>

<h3>Links</h3>
<ul>
<li><a href="https://charcoal-se.org/">What are Charcoal and SmokeDetector?</a></li>
<li><%= link_to 'Spam/Autoflagging by site (including undeleted)', site_dash_path %></li>
</ul>
1 change: 1 addition & 0 deletions app/views/layouts/application.html.erb
Expand Up @@ -77,6 +77,7 @@
<%= nav_link DomainTagsController, label: 'Domain Tags' %>
<%= nav_link DomainGroupsController, label: 'Domain Groups' %>
<li role="separator" class="divider"></li>
<%= nav_link DashboardController, action: :site_dash, label: 'Site Dashboard' %>
<%= nav_link GraphsController, label: 'Graphs' %>
<%= nav_link StackExchangeUsersController, label: 'Spammers', action: :sites %>
<% end %>
Expand Down

0 comments on commit e46972f

Please sign in to comment.