:scss
  h2,h3,h4{
    font-family:"lato";
  }
  h3{
    border-bottom:1px solid rgba(100,100,100, 0.2);
    padding-bottom:5px;
  }
%h2 Plan du site

%h3 Pages
%ul
  -MenuItem.where(:parent_id => nil).all.each do |mi|
    =render :partial => "mi", :locals => {:mi => mi}


%h3
  Dons
%ul
  %li=link_to qit("bas Don en ligne", "Don en ligne"), new_public_donator_transaction_path
  %li=link_to qit("bas Adhérer", "Adhérer"), new_public_transaction_join_path
  %li=link_to qit("bas Parrainer", "Parrainer"), public_sponsorship_animals_path
  %li=link_to "S'abonner à Noé", new_public_transaction_abo_path if I18n.locale == :fr
  %li=link_to qit("bas Assurance vie", "Assurance vie"), "/fr/assurance-vie.html"  if I18n.locale == :fr

%h3 Blog
%h4 Catégories

%ul
  -Category.order(:position).each do |category|
    -count = category.articles.recents.joins(:lang_articles).where("lang_articles.enabled = 1 and lang_articles.lang_site_id = ?", @lang.id).count
    -if count > 0
      %li
        =link_to category.lang(I18n.locale.to_s).name+" (#{count})", category_public_article_path(:lang => @lang.slug,:slug => category.lang(I18n.locale.to_s).slug), :title => "Articles de la catégorie \""+category.lang(I18n.locale.to_s).name.to_s+'"'
        
        %ul
          -category.articles.recents.joins(:lang_articles).where("lang_articles.enabled = 1 and lang_articles.lang_site_id = ?", @lang.id).each do |article|
          
            -lang_article = article.lang("fr")
            %li=link_to lang_article.title, article_path(:slug => lang_article.slug, :lang => @lang.slug)

%h4
  Tags

%ul
  -Tag.order(:name).each do |tag|
    %li
      =link_to tag.name+" (#{tag.recents_articles.count})", public_tag_path(tag.slug), :title => "Conseil en image : articles avec le tag \""+tag.name.to_s+'"'

%h3 Pétitions
%ul

  -Petition.joins(:petition_langs).where(:petition_langs => {:lang_site_id => @lang.id, :frontpage => true, :enabled => true}).order("position ASC").all.each do |petition|

    -petition_lang = petition.lang(I18n.locale.to_s)
    -if petition_lang.short_title?
      -title =petition_lang.short_title
    -else
      -title=petition_lang.title
    %li=link_to title, petition_path(:slug => petition_lang.slug, :lang => I18n.locale.to_s)


%h3 Images d'actualité
%ul
  -ImageActuAlbum.all.each do |image_actu_album|
    -if image_actu_album.image_actus.count > 0
      %li=link_to image_actu_album.lang(@lang.slug).name.to_s+" (#{image_actu_album.image_actus.count})",  public_image_actu_album_path(image_actu_album.lang(@lang.slug).to_route)
  
%h3 Newsletters

%ul
  -Newsletter.where("send_at is not null").order("send_at DESC").each do |newsletter|
    %li=link_to newsletter.subject, public_newsletter_path(newsletter.slug)
      