Sha256: e26fa7491a25de543e5a720e7e25549f205d0b8c7b7563d91de2905ac8fe1fac

Contents?: true

Size: 805 Bytes

Versions: 4

Compression:

Stored size: 805 Bytes

Contents

- self.content_for(:html, :dialog) do
  /
    #{__FILE__}
  %div{'data-role' => 'header'}
    %h1
      = RubyApp::Language.locale.strftime(@month.display, '%b %Y')
  %div{'data-role' => 'content'}
    = @month.render(:html)
    %div.buttons.ui-grid-b
      %div.ui-block-a
        = @previous_link.render(:html) do |element|
          - element.content_for(:html, :link, RubyApp::Language.locale.strftime(@month.display << 1, '%b'))
      %div.ui-block-b
        = @today_link.render(:html) do |element|
          - element.content_for(:html, :link, RubyApp::Elements::Mobile::Dialogs::Calendars::MonthDialog.translate.today)
      %div.ui-block-c
        = @next_link.render(:html) do |element|
          - element.content_for(:html, :link, RubyApp::Language.locale.strftime(@month.display >> 1, '%b'))

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
RubyApp-0.5.34 lib/ruby_app/elements/mobile/dialogs/calendars/month_dialog.html.haml
RubyApp-0.5.33 lib/ruby_app/elements/mobile/dialogs/calendars/month_dialog.html.haml
RubyApp-0.5.32 lib/ruby_app/elements/mobile/dialogs/calendars/month_dialog.html.haml
RubyApp-0.5.31 lib/ruby_app/elements/mobile/dialogs/calendars/month_dialog.html.haml