Sha256: a2b602f3ed030f5f5f1e6c6b2b2d76d226896c303a62fe7556f360ecbfdde7b6

Contents?: true

Size: 1.9 KB

Versions: 5

Compression:

Stored size: 1.9 KB

Contents

<% content_for :navigation do %> 
  <%= section t('home', default: 'Home'), root_path, :home %>
  <%= section t('tour', default: 'Tour'), tour_path(:start), :tour %>
  <%= section t('community', default: 'Community'), community_path, :community %>
  <%= section t('help', default: 'Help'), help_path , :help %>
<% end %>
<% content_for :right_menu do %> 
  <ul class="RightMenu">
        <%- if !current_user.nil? %>
        <li>
        <div id="User">
          <%=current_user.email%><br><br>
          <div class="container">
            <ul>
              <li><%= link_to t('reminders', default: 'Reminders'), schedules_path %></li>
              <li><%= link_to t('settings', default: 'Settings'), edit_user_registration_path %></li>
            </ul>
            <hr/>
            <ul>
              <li><a href="mailto:support@instedd.org?subject=[<%= application_name.underscore %>-bug]"><%= t('report_a_bug', default: "Report a bug") %></a></li>
              <li><%= link_to t('sign_out', default: "Sign Out"), destroy_user_session_path %></li>
            </ul>
          </div>
        </div>
        </li>
        <li>
          <%= link_to '', edit_user_registration_path, :class => 'fsettings' %>
        </li>
        <% else %>
        <li>
          <%= link_to t('create_account', default: "Create account"), new_user_registration_path, :class => 'fedit' %>
        </li>
        <li>
          <%= link_to t('log_in', default: "Log in"), new_user_session_path, :class => 'fuser' %>
        </li>
        <% end %>
      </ul>
<% end %>
<% content_for :footer_links do %> 
  <a href="<%= root_path %>"><%= t('home', default: 'Home') %></a>
  <a href="<%= tour_path(:start) %>"><%= t('tour', default: 'Tour') %></a>
  <a href="<%= community_path %>"><%= t('community', default: 'Community') %></a>
  <a href="<%= help_path %>"><%= t('help', default: 'Help') %></a>
<% end %>
<%= render :file => 'layouts/instedd_application' %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
instedd-rails-0.0.27 lib/generators/instedd_rails/templates/application.html.erb
instedd-rails-0.0.26 lib/generators/instedd_rails/templates/application.html.erb
instedd-rails-0.0.25 lib/generators/instedd_rails/templates/application.html.erb
instedd-rails-0.0.24 lib/generators/instedd_rails/templates/application.html.erb
instedd-rails-0.0.23 lib/generators/instedd_rails/templates/application.html.erb