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.7.16 lib/ruby_app/elements/mobile/dialogs/calendars/month_dialog.html.haml
RubyApp-0.7.15 lib/ruby_app/elements/mobile/dialogs/calendars/month_dialog.html.haml
RubyApp-0.7.14 lib/ruby_app/elements/mobile/dialogs/calendars/month_dialog.html.haml
RubyApp-0.7.13 lib/ruby_app/elements/mobile/dialogs/calendars/month_dialog.html.haml
RubyApp-0.7.12 lib/ruby_app/elements/mobile/dialogs/calendars/month_dialog.html.haml
RubyApp-0.7.11 lib/ruby_app/elements/mobile/dialogs/calendars/month_dialog.html.haml
RubyApp-0.7.10 lib/ruby_app/elements/mobile/dialogs/calendars/month_dialog.html.haml
RubyApp-0.7.9 lib/ruby_app/elements/mobile/dialogs/calendars/month_dialog.html.haml
RubyApp-0.7.5 lib/ruby_app/elements/mobile/dialogs/calendars/month_dialog.html.haml
RubyApp-0.7.4 lib/ruby_app/elements/mobile/dialogs/calendars/month_dialog.html.haml
RubyApp-0.7.3 lib/ruby_app/elements/mobile/dialogs/calendars/month_dialog.html.haml
RubyApp-0.7.2 lib/ruby_app/elements/mobile/dialogs/calendars/month_dialog.html.haml
RubyApp-0.7.1 lib/ruby_app/elements/mobile/dialogs/calendars/month_dialog.html.haml
RubyApp-0.7.0 lib/ruby_app/elements/mobile/dialogs/calendars/month_dialog.html.haml
RubyApp-0.6.71 lib/ruby_app/elements/mobile/dialogs/calendars/month_dialog.html.haml
RubyApp-0.6.70 lib/ruby_app/elements/mobile/dialogs/calendars/month_dialog.html.haml
RubyApp-0.6.69 lib/ruby_app/elements/mobile/dialogs/calendars/month_dialog.html.haml
RubyApp-0.6.68 lib/ruby_app/elements/mobile/dialogs/calendars/month_dialog.html.haml
RubyApp-0.6.67 lib/ruby_app/elements/mobile/dialogs/calendars/month_dialog.html.haml
RubyApp-0.6.66 lib/ruby_app/elements/mobile/dialogs/calendars/month_dialog.html.haml