Sha256: e12d9191c1f3d0c5f200d51f84fa4eba974a46a7e47bd735c2ae83b507a07fef

Contents?: true

Size: 1.07 KB

Versions: 29

Compression:

Stored size: 1.07 KB

Contents

- require 'chronic'
- self.content_for(:html, :page) do
  /
    #{__FILE__}
  %div{'data-role' => 'header'}
    = @back_button.render(:html)
    %h1
      Session
  %div{'data-role' => 'content'}
    %ul{'data-role' => 'listview'}
      %li
        %span
          ID
        %span.ui-li-aside
          %code
            = @session.session_id
      %li
        %span
          Class
        %span.ui-li-aside
          %code
            = @session.class.short_name
      %li
        %span
          Expires
        %span.ui-li-aside
          %code
            = RubyApp::Language.locale.strftime(@session.expires, RubyApp::Application.configuration.format.date.long)
      %li
        %span
          Identity URL
        %span.ui-li-aside
          %code
            - if @session.identity
              = @session.identity.url
            - else
              (nil)
      %li
        = @documents_link.render(:html) do |element|
          - element.content_for(:html, :link) do
            %span
              Documents
            %span.ui-li-count
              = @session.documents.length

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
RubyApp-0.5.43 lib/ruby_app/elements/mobile/pages/information/session_page.html.haml
RubyApp-0.5.42 lib/ruby_app/elements/mobile/pages/information/session_page.html.haml
RubyApp-0.5.41 lib/ruby_app/elements/mobile/pages/information/session_page.html.haml
RubyApp-0.5.40 lib/ruby_app/elements/mobile/pages/information/session_page.html.haml
RubyApp-0.5.39 lib/ruby_app/elements/mobile/pages/information/session_page.html.haml
RubyApp-0.5.38 lib/ruby_app/elements/mobile/pages/information/session_page.html.haml
RubyApp-0.5.37 lib/ruby_app/elements/mobile/pages/information/session_page.html.haml
RubyApp-0.5.36 lib/ruby_app/elements/mobile/pages/information/session_page.html.haml
RubyApp-0.5.35 lib/ruby_app/elements/mobile/pages/information/session_page.html.haml
RubyApp-0.5.34 lib/ruby_app/elements/mobile/pages/information/session_page.html.haml
RubyApp-0.5.33 lib/ruby_app/elements/mobile/pages/information/session_page.html.haml
RubyApp-0.5.32 lib/ruby_app/elements/mobile/pages/information/session_page.html.haml
RubyApp-0.5.31 lib/ruby_app/elements/mobile/pages/information/session_page.html.haml
RubyApp-0.5.30 lib/ruby_app/elements/mobile/pages/information/session_page.html.haml
RubyApp-0.5.29 lib/ruby_app/elements/mobile/pages/information/session_page.html.haml
RubyApp-0.5.28 lib/ruby_app/elements/mobile/pages/information/session_page.html.haml
RubyApp-0.5.23 lib/ruby_app/elements/mobile/pages/information/session_page.html.haml
RubyApp-0.5.18 lib/ruby_app/elements/mobile/pages/information/session_page.html.haml
RubyApp-0.5.17 lib/ruby_app/elements/mobile/pages/information/session_page.html.haml
RubyApp-0.5.16 lib/ruby_app/elements/mobile/pages/information/session_page.html.haml