Sha256: 55cc334276fbde0524c04fb8c57fffb2f6df251cf7a4f839e6723927a9c28eb1

Contents?: true

Size: 775 Bytes

Versions: 125

Compression:

Stored size: 775 Bytes

Contents

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

Version data entries

125 entries across 125 versions & 1 rubygems

Version Path
RubyApp-0.5.39 lib/ruby_app/elements/mobile/dialogs/calendars/month_dialog.html.haml
RubyApp-0.5.38 lib/ruby_app/elements/mobile/dialogs/calendars/month_dialog.html.haml
RubyApp-0.5.37 lib/ruby_app/elements/mobile/dialogs/calendars/month_dialog.html.haml
RubyApp-0.5.36 lib/ruby_app/elements/mobile/dialogs/calendars/month_dialog.html.haml
RubyApp-0.5.35 lib/ruby_app/elements/mobile/dialogs/calendars/month_dialog.html.haml