Commit 4827894
Changed files (2)
app
views
agents
events
layouts
app/views/agents/events/index.html.erb
@@ -2,7 +2,7 @@
<div class="small-12 columns">
<p id="notice"><%= notice %></p>
- <h1>Listing Events</h1>
+ <h1>Listing Events for agent <%= @agent.hostname %></h1>
<%= link_to 'New Event', new_agent_event_path(@agent), class: 'button' %>
<table>
app/views/layouts/application.html.erb
@@ -17,7 +17,7 @@
<nav class="top-bar" data-topbar role="navigation" data-options="sticky_on: large">
<ul class="title-area">
<li class="name">
- <h1><a href="#">malwer</a></h1>
+ <h1><%= link_to "malwer", root_path %></h1>
</li>
<!-- Remove the class "menu-icon" to get rid of menu icon. Take out "Menu" to just have icon alone -->
<li class="toggle-topbar menu-icon"><a href="#"><span>Menu</span></a></li>