Sha256: 538b4229c8ad1181477e59a91c82ffc499e3e6ad4134331b40561c7948582d74

Contents?: true

Size: 1005 Bytes

Versions: 1

Compression:

Stored size: 1005 Bytes

Contents

<div id="interpret_container">
  <% if flash.any? %>
    <div class="interpret_flash grid_16 <%= flash.keys.first %>">
      <%= flash[:notice] || flash[:alert] %>
    </div>
  <% end %>
  <div class="menu grid_12">
    <%= interpret_section_link_to "Overview", interpret_root_path %> |
    <% unless @interpret_user && !@interpret_admin %>
      <%= interpret_section_link_to "Tools", interpret_tools_path %> |
    <% end %>
    <%= interpret_section_link_to "Search", interpret_search_path %>
    <hr />
  </div>
  <div class="menu grid_4">
    Languages:
    <% Interpret::Translation.available_locales.each do |locale| %>
      <% opts = {:locale => locale} %>
      <% opts[:key] = params[:key] if params[:key] %>
      <%= link_to locale, opts %>
    <% end %>
    <hr />
  </div>
  <div class="clearfix"></div>
  <div id="sidebar" class="grid_3">
    <%= yield :sidebar %>
  </div>
  <div id="main" class="grid_13">
    <%= yield %>
  </div>
</div>

<% interpret_parent_layout Interpret.layout %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
interpret-0.1.5 app/views/layouts/interpret.html.erb