Sha256: eabd9d44dc9be4a2c51c04e9c409144622e83db3b87dfc40ea7e8e22b75eeaed

Contents?: true

Size: 884 Bytes

Versions: 3

Compression:

Stored size: 884 Bytes

Contents

<div class="topbar<%= " topbar_placeholder" if placeholder %>">
  <div class="wide_container">
		
		<%= link_to image_tag("remetric/logo.png"), root_path, id: "logo" %>
		<%= link_to image_tag("remetric/loading_logo.gif"), root_path, id: "loading_logo" %>

		<ul class="nav">
			<li><%= link_to "Dashboard", root_path, class: "#{"selected" if request.path == root_path}" %></li>
			<li><%= link_to "Events", events_path, class: "#{"selected" if request.path == events_path}" %></li>

			<% @trackable_models.each do |model| %>
				<li><%= link_to model.pluralize.capitalize, trackables_path(model.downcase.pluralize), class: "#{"selected" if request.path == trackables_path(model.downcase.pluralize)}" %>
			<% end %>

			<li><%= link_to "Settings", settings_path, class: "#{"selected" if request.path == settings_path}" %></li>
		</ul>
		
		<div class="clear"></div>
	
	</div>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
remetric-0.0.5 app/views/remetric/application/_nav.html.erb
remetric-0.0.4 app/views/remetric/application/_nav.html.erb
remetric-0.0.3 app/views/remetric/application/_nav.html.erb