Sha256: 62f3f4c2338e6a4d0ab89106e3dfae459823d277aa194afffe3575c498707235
Contents?: true
Size: 1.38 KB
Versions: 1
Compression:
Stored size: 1.38 KB
Contents
doctype html html head title - if @message.try(:persisted?) | #{@message.text} #{@message.user.screen_name} (@#{@message.user.name}) | Xwitter - elsif @user | Xwitter - #{@user.screen_name} (@#{@user.name}) - else | Xwitter = csrf_meta_tags = csp_meta_tag = javascript_include_tag 'application', 'data-turbolinks-track': 'reload' = javascript_pack_tag 'application' = stylesheet_pack_tag 'application' = stylesheet_link_tag 'application', 'data-turbolinks-track': 'reload' = stylesheet_link_tag 'https://cdnjs.cloudflare.com/ajax/libs/open-iconic/1.1.1/font/css/open-iconic-bootstrap.min.css' body(class="theme-#{current_user.try(:theme)}") .navbar div = link_to '', root_path, class: 'btn oi oi-home' - if @user.try(:persisted?) = link_to '@' + @user.name, '/' + @user.name, class: 'btn' - if user_signed_in? nav.left-nav .navbar = link_to '', '/' + current_user.name, class: 'btn oi oi-person' .navbar = link_to '', '/subscriptions', class: 'btn oi oi-folder' .navbar = link_to '', destroy_user_session_path, class: 'btn oi oi-power-standby', method: :delete, data: { confirm: "Are you sure logout from 'Xwitter' ?" } .navbar = link_to '', root_path, class: 'btn oi oi-wrench' .container = yield
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
Xwitter-0.4.0 | app/views/layouts/application.html.slim |