commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
d6ea7cab17e9ea731500fd32d67143b225541fad | app/views/banks/_form.html.haml | app/views/banks/_form.html.haml | = simple_form_for resource do |f|
%h3= t('form.person.address')
= render 'vcards/form', :f => f
%h3= t_model(PhoneNumber)
.nested-form.list.contacts
= f.fields_for :vcard do |vcard|
- vcard.object.contacts.build_defaults
- vcard.fields_for :contacts do |contact|
= render 'phone_numbers... | = simple_form_for resource do |f|
.row-fluid
.span6
%h3= t('form.person.address')
= render 'vcards/form', :f => f
.span6
%h3= t_model(PhoneNumber)
.nested-form.list.contacts
= f.fields_for :vcard do |vcard|
- vcard.object.contacts.build_defaults
- vcard.fie... | Update Bank for to match common styles. | Update Bank for to match common styles.
| Haml | agpl-3.0 | hauledev/bookyt,huerlisi/bookyt,xuewenfei/bookyt,silvermind/bookyt,silvermind/bookyt,hauledev/bookyt,gaapt/bookyt,gaapt/bookyt,silvermind/bookyt,wtag/bookyt,silvermind/bookyt,gaapt/bookyt,hauledev/bookyt,huerlisi/bookyt,xuewenfei/bookyt,gaapt/bookyt,wtag/bookyt,wtag/bookyt,xuewenfei/bookyt,hauledev/bookyt,huerlisi/book... |
b5969510738bd46dc30b5bb6c6eb3e5cdacb8fb1 | app/views/home/status.html.haml | app/views/home/status.html.haml | - content_for :header_title do
Application Status
.pull-right
Last commit
= link_to @head_commit[0..6] , "https://github.com/theodi/open-data-certificate/commit/#{@head_commit}", class: 'badge'
%h1
Job queue
%p
%strong= pluralize @job_count, 'jobs'
queued
%hr.heavy
%h1
Surveys
%p
%strong= plura... | - content_for :header_title do
Application Status
.pull-right
Last commit
= link_to @head_commit[0..6] , "https://github.com/theodi/open-data-certificate/commit/#{@head_commit}", class: 'badge'
%h1
Job queue
%p
%strong= pluralize @job_count, 'jobs'
queued
%hr.heavy
%h1
Surveys
%p
%strong= plura... | Add stats to status page | Add stats to status page
| Haml | mit | zoul/open-data-certificate,theodi/open-data-certificate,Motejl/open-data-certificate,Motejl/open-data-certificate,ahmadassaf/open-data-certificate,theodi/open-data-certificate,theodi/open-data-certificate,ahmadassaf/open-data-certificate,zoul/open-data-certificate,istvan-antal/open-data-certificate,theodi/open-data-cer... |
f7ff70a24d1cbabeee3b0a6ce02c0f8b7443efe7 | app/views/layouts/application.html.haml | app/views/layouts/application.html.haml | !!! 5
%html{:xmlns => "http://www.w3.org/1999/xhtml"}
%head
%meta{:charset => 'utf-8'}/
%meta{:content => "Simon Huerlimann <simon.huerlimann@cyt.ch>", :name => "author"}/
= stylesheet_link_tag 'compiled/screen.css', :media => 'screen, projection'
= stylesheet_link_tag 'compiled/print.css', :me... | !!! 5
%html{:xmlns => "http://www.w3.org/1999/xhtml"}
%head
%meta{:charset => 'utf-8'}/
%meta{:content => "Simon Huerlimann <simon.huerlimann@cyt.ch>", :name => "author"}/
= stylesheet_link_tag 'compiled/screen.css', :media => 'screen, projection'
= stylesheet_link_tag 'compiled/print.css', :me... | Fix link to new daily cash up. | Fix link to new daily cash up.
| Haml | agpl-3.0 | huerlisi/bookyt,silvermind/bookyt,silvermind/bookyt,gaapt/bookyt,hauledev/bookyt,hauledev/bookyt,hauledev/bookyt,wtag/bookyt,xuewenfei/bookyt,silvermind/bookyt,wtag/bookyt,huerlisi/bookyt,xuewenfei/bookyt,gaapt/bookyt,hauledev/bookyt,wtag/bookyt,gaapt/bookyt,gaapt/bookyt,xuewenfei/bookyt,silvermind/bookyt,huerlisi/book... |
0f70705c286d12ae92ace3f1d0694b681a65b07b | app/views/layouts/application.html.haml | app/views/layouts/application.html.haml | !!! 5
%html{ lang: 'en' }
%head
%title Long Running Ruby Benchmark
= stylesheet_link_tag 'application', media: 'all'
= stylesheet_link_tag 'https://fonts.googleapis.com/css?family=Roboto:100,400'
= javascript_include_tag 'application'
= render 'layouts/ga' if Rails.env.production?
= csrf_meta_... | !!! 5
%html{ lang: 'en' }
%head
%title Long Running Ruby Benchmark
= stylesheet_link_tag 'application', media: 'all'
= stylesheet_link_tag 'https://fonts.googleapis.com/css?family=Roboto:100,400'
= javascript_include_tag 'application'
= render 'layouts/ga' if Rails.env.production?
= csrf_meta_... | Add alert about transition to new bare metal server. | Add alert about transition to new bare metal server.
| Haml | mit | hanmd82/ruby-bench-web,ruby-bench/ruby-bench-web,bmarkons/ruby-bench-web,treble37/ruby-bench-web,bmarkons/ruby-bench-web,tgxworld/ruby-bench-web,ruby-bench/ruby-bench-web,treble37/ruby-bench-web,klgilbert/ruby-bench-web,bmarkons/ruby-bench-web,treble37/ruby-bench-web,hanmd82/ruby-bench-web,davydovanton/ruby-bench-web,r... |
f896acf55e44b212ce8d79e07a06841fccc1f5b6 | app/views/layouts/report.html.haml | app/views/layouts/report.html.haml | !!! 5
%html.report
%head
%title= t("meta.title")
%meta(content='text/html; charset=utf-8' http-equiv="Content-Type")
%meta{:description => "#{ t('meta.description') }" }
= stylesheet_link_tag 'report', media: 'all'
= csrf_meta_tag
%body.report
= yield
= javascript_include_tag 'applica... | !!! 5
%html.report
%head
%title= t("meta.title")
%meta(content='text/html; charset=utf-8' http-equiv="Content-Type")
%meta{:description => "#{ t('meta.description') }" }
= stylesheet_link_tag 'report', media: 'all'
= csrf_meta_tag
%body.report
= yield
= javascript_include_tag 'applica... | Include "app" JS pack on report page | Include "app" JS pack on report page
| Haml | mit | quintel/etmodel,quintel/etmodel,quintel/etmodel,quintel/etmodel |
4fa9ffcde4943e3c55b84f01eadf00543d2d92d7 | app/views/projects/index.html.haml | app/views/projects/index.html.haml | - content_for :header do
%ul.links
%li= link_to("Repositories", repositories_path)
.projects
%ul
- @projects.each do |project|
%li.build-info
= link_to(project.name, project_path(project))
\-
%span.state{:class => 'build-' + project.builds.last.try(:state).to_s}= project.buil... | - content_for :header do
%ul.links
%li= link_to("Repositories", repositories_path)
.projects
%ul
- @projects.each do |project|
%li.build-info
= link_to(project.name, project_path(project))
| Remove state of last project run from projects index | Remove state of last project run from projects index
The state information is not very useful on this page and it was slowing
down loading a lot. The ci_projects page is better for viewing most
recent build state.
| Haml | apache-2.0 | rudle/kochiku,rudle/kochiku,moshez/kochiku,moshez/kochiku,square/kochiku,moshez/kochiku,square/kochiku,rudle/kochiku,rudle/kochiku,moshez/kochiku,square/kochiku,square/kochiku |
4c3ba64a73d092eb30d0312c87eebadb67aaf16f | app/views/admin/currents/edit.html.haml | app/views/admin/currents/edit.html.haml | .container-fluid
.row
.col-lg-12.col-md-12.col-sm-12.col-xs-12
.page-header
%h1 Edit Idea
.row
.col-lg-12.col-md-12.col-sm-12.col-xs-12
= form_for @current, class: 'form-inline', url: admin_current_path do |f|
= render partial: 'admin/currents/form', :locals => { :f => f }
.r... | .container-fluid
.row
.col-lg-12.col-md-12.col-sm-12.col-xs-12
.page-header
%h1 Edit Idea
.row
.col-lg-12.col-md-12.col-sm-12.col-xs-12
= form_for @current, class: 'form-inline', url: admin_current_path(@current) do |f|
= render partial: 'admin/currents/form', :locals => { :f =>... | Fix Admin Currents edit form url | Fix Admin Currents edit form url
Add the current record ID for which current will be manipualted to the
url that will be used when submitting the form back to the application.
Without the record specified, the application can't complete the url to
include the ID of the Current.
| Haml | agpl-3.0 | robinsonj/P4IdeaX,robinsonj/P4IdeaX |
37a5444e9885391b389f8af620b62e1d0f6b826b | source/layouts/_header.haml | source/layouts/_header.haml | %header#branding.masthead.hidden-print(role="banner")
%section
%h1
= link_to http_prefix do
- if data.site.logo
= image_tag data.site.logo, id: "rhlogo", class: "logo", alt: data.site.name
- else
= data.site.name
= partial :nav, locals: { source: "navigation", nav_cl... | %header#branding.masthead.hidden-print(role="banner")
%section
%h1
= link_to http_prefix do
- if data.site.logo
= image_tag data.site.logo, id: "rhlogo", class: "logo", alt: data.site.name
- else
= data.site.name
= partial :nav, locals: { source: "navigation", nav_cl... | Fix test in header layout to take http_prefix into account. | Fix test in header layout to take http_prefix into account.
| Haml | mit | dwlehman/blivet-web,dwlehman/blivet-web,dwlehman/blivet-web,dwlehman/blivet-web |
db084536a01fa8d2c36f847b08621fe5727ccbc2 | app/views/home/home.html.haml | app/views/home/home.html.haml | = render :partial => "notice"
.landing-container
.home-page-content
- render_project_info
= content_for :project_info
.signup-box
= render partial: "home/signup"
= render partial: "home/featured_content"
- if !@portal_student
= render :partial => "project_cards"
| = render :partial => "notice"
.landing-container
.home-page-content
- render_project_info
= content_for :project_info
- if current_visitor.anonymous?
.signup-box
= render partial: "home/signup"
= render partial: "home/featured_content"
- if !@portal_student
= render :partial => "project_cards"... | Fix bug where signup box displayed for teachers sometimes. | Fix bug where signup box displayed for teachers sometimes.
| Haml | mit | concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse |
64fe1b22641139d17952489325c11c33dae883bc | app/views/tags/show.html.haml | app/views/tags/show.html.haml | %h1= @tag
- unless @tag.articles.empty?
%ul
- @tag.articles.each do |article|
%li= link_to article, article | %main.row
.cell.cell--s.well.well--l
%h1.mbs= @tag
- unless @tag.articles.empty?
%ul.list
- @tag.articles.each do |article|
- # TODO: Add Article fresh/stale/rotten signals
%li.card.list-item.article
= link_to article, article
| Integrate initial Tags Show styles | Integrate initial Tags Show styles
| Haml | mit | codeschool/orientation,robomc/orientation,Scripted/orientation,orientation/orientation,hashrocket/orientation,twinn/orientation,smashingboxes/orientation,codeschool/orientation,friism/orientation,orientation/orientation,cmckni3/orientation,splicers/orientation,splicers/orientation,hashrocket/orientation,ferdinandrosari... |
c9ee2f2de57b0475a35d048335255f6dd8a8a78c | www/app/views/shared/_footer.html.haml | www/app/views/shared/_footer.html.haml | %footer#app-footer
%p
A
project
developed as part of the 2014 EUHackathon. <br />
Open-source @ <a href='https://github.com/euhackathon/'>Github
| %footer#app-footer
%p
A
project
developed as part of the 2014 EUHackathon. <br />
Open-source @ <a href='https://github.com/euhackathon/'>Github <br />
Information about companies is taken from the <a href='http://ec.europa.eu/transparencyregister/info/homePage.do'>Transparency Register</a>.
| Add URL about transparency register | Add URL about transparency register
| Haml | mit | euhackathon/commission-today,euhackathon/commission-today,euhackathon/commission-today |
3b03e88ae9e5124fd56d92dedafebb8de44ddfb8 | app/views/application/_sidebar.html.haml | app/views/application/_sidebar.html.haml | %ul.nav.nav-list
%li.nav-header Vorlagen
- BookingTemplate.limit(5).each do |template|
%li= link_to template, [:new_booking, template]
%li.nav-header Infos
%li= link_to t_title(:index, Account), accounts_path
%li.nav-header= t_title(:index, DebitInvoice)
%li= link_to t_title(:new, DebitInvoice), new_d... | %ul.nav.nav-list
%li.nav-header Vorlagen
- BookingTemplate.limit(5).each do |template|
%li= link_to template, [:new_booking, template]
%li.nav-header= t_title(:index, DebitInvoice)
%li= link_to t_title(:new, DebitInvoice), new_debit_invoice_path
%li= link_to 'Offene Posten', debit_invoices_path
%li.na... | Move info section to bottom of sidebar. | Move info section to bottom of sidebar.
| Haml | agpl-3.0 | huerlisi/bookyt,silvermind/bookyt,wtag/bookyt,hauledev/bookyt,gaapt/bookyt,wtag/bookyt,wtag/bookyt,xuewenfei/bookyt,huerlisi/bookyt,huerlisi/bookyt,hauledev/bookyt,gaapt/bookyt,hauledev/bookyt,silvermind/bookyt,xuewenfei/bookyt,xuewenfei/bookyt,gaapt/bookyt,silvermind/bookyt,hauledev/bookyt,gaapt/bookyt,silvermind/book... |
cbcf82a35b6222c2e5e80f8ae9623ae10fac990f | app/views/fields/_sidebar_show.html.haml | app/views/fields/_sidebar_show.html.haml | - asset.field_groups.each do |field_group|
- fg = field_group.fields.without_pairs
- if fg.select{|f| asset.send(f.name).present? }.any?
%div
- unless field_group.name == 'custom_fields'
.caption #{field_group.label_i18n}
- fg.each do |field|
- if (value = field.render_value(asset)).... | - asset.field_groups.each do |field_group|
- fg = field_group.fields.without_pairs
- if fg.select{|f| asset.send(f.name).present? }.any?
%div
- unless field_group.name == 'custom_fields'
.caption #{field_group.label_i18n}
- fg.each do |field|
- if (value = field.render_value(asset)).... | Optimize Opportunity Sidebar Sampling information: will display message if no info entered | Optimize Opportunity Sidebar Sampling information: will display message if no info entered
| Haml | mit | sustainableharvest/fat_free_crm,sustainableharvest/fat_free_crm |
447749e75526d42042c8c72acc3031bfc60026e8 | app/views/application/_footer.html.haml | app/views/application/_footer.html.haml | %footer
.block
%p
Copyright © #{Time.now.year} Sacha Chua -
- if session
- if mobile?
= link_to I18n.t('app.layout.full'), params.merge(:layout => 'full')
- else
= link_to I18n.t('app.layout.mobile'), params.merge(:layout => 'mobile')
\-
= link_t... | %footer
.block
%p
Copyright © #{Time.now.year} Sacha Chua -
- if session
- if mobile?
= link_to I18n.t('app.layout.full'), params.merge(:layout => 'full')
- else
= link_to I18n.t('app.layout.mobile'), params.merge(:layout => 'mobile')
\-
= link_t... | Add blog link to footer | Add blog link to footer
| Haml | mit | sachac/quantified,sachac/quantified,sachac/quantified |
3743713f51e6649b49caa93ae82097bb9d78355b | app/views/devise/sessions/new.html.haml | app/views/devise/sessions/new.html.haml | %h2 Login
=# TODO The login does not seem to work anymore.
= form_tag session_path(resource), class: 'form-horizontal' do
.control-group
= label_tag :username, 'Username', class: 'control-label'
.controls
= text_field_tag :username, '', autofocus: true
.control-group
= label_tag :domain_id, 'Do... | %h2 Login
=# TODO The login does not seem to work anymore.
= form_tag mailbox_session_path(resource), class: 'form-horizontal' do
.control-group
= label_tag :username, 'Username', class: 'control-label'
.controls
= text_field_tag :username, '', autofocus: true
.control-group
= label_tag :domain... | Use correct path helper despite the other one functioning. | Use correct path helper despite the other one functioning.
| Haml | agpl-3.0 | nning/moeil,nning/moeil,nning/moeil,nning/moeil |
9499444a7bb80d2b0733f2a8067c369fc13abe49 | app/views/activities/_form.html.haml | app/views/activities/_form.html.haml | = simple_form_for [parent, @activity].compact do |f|
.row-fluid
.span6= f.association :person, :as => :combobox
.span6= f.association :project, :as => :combobox
.row-fluid
.span6= f.input :date, :as => :date_field
.span6= f.input :duration, :as => :string
.row-fluid
.span12= f.input :remarks,... | = simple_form_for [parent, @activity].compact do |f|
.row-fluid
.span6= f.association :person, :as => :combobox
.span6= f.association :project, :as => :combobox
.row-fluid
.span6= f.input :duration, :as => :string
.span6= f.input :date, :as => :date_field
.row-fluid
.span12= f.input :remarks,... | Switch columns for date and duration in activity form. | Switch columns for date and duration in activity form.
| Haml | mit | huerlisi/bookyt_projects,raskhadafi/bookyt_projects,huerlisi/bookyt_projects,raskhadafi/bookyt_projects,huerlisi/bookyt_projects |
0463774f49cf169153a4e96b0129cfb60269d15f | app/views/pages/_resources.html.haml | app/views/pages/_resources.html.haml | .container
.row
.col-lg-12
%h1.page-header
Resources
%small Helpful Links
.row
.col-md-3
.list-group
= link_to 'Ruby Doc', "http://www.datasimply.com", class: 'list-group-item'
= link_to 'Rails Doc', "http://www.datasimply.com", class: 'list-group-item'
= ... | .container
.row
.col-md-3
%h1.page-header
Resources
-#%small Helpful Links
.row
.col-md-3
.list-group
= link_to 'Ruby Doc', "http://ruby-doc.org/", class: 'list-group-item'
= link_to 'Ruby on Rails Guides', "http://guides.rubyonrails.org/", class: 'list-group-item'
= link_to ... | Add links to Resources section | Add links to Resources section
| Haml | mit | michellebonat/bitparrot,michellebonat/bitparrot,michellebonat/bitparrot |
d078c07898a3a46b9a5d427bdc9ecf1d00ab5778 | app/views/manage/_spaces_list.html.haml | app/views/manage/_spaces_list.html.haml | -# locals:
-# spaces (array of Space)
#filter-total.resource-filter-total
.resource-filter-with-text
= t('.filter_count_with_text', :count => "<span class=\"resource-filter-count\">#{spaces.count}</span>".html_safe, :value => "<span class=\"resource-filter-value\"></span>".html_safe).html_safe
.resource-filte... | -# locals:
-# spaces (array of Space)
#filter-total.resource-filter-total
.resource-filter-with-text
= t('.filter_count_with_text', :count => "<span class=\"resource-filter-count\">#{spaces.count}</span>".html_safe, :value => "<span class=\"resource-filter-value\"></span>".html_safe).html_safe
.resource-filte... | Correct space count in manage controller | Correct space count in manage controller
| Haml | agpl-3.0 | becueb/MconfWeb,akratech/Akraconference,lfzawacki/mconf-web,mconftec/mconf-web-santacasa,mconftec/mconf-web-ufpe,amreis/mconf-web,mconftec/mconf-web-ufpe,mconf-rnp/mconf-web,becueb/MconfWeb,mconf-rnp/mconf-web,mconftec/mconf-web-uergs,akratech/Akraconference,fbottin/mconf-web,mconftec/mconf-web-mytruecloud,lfzawacki/mc... |
76a2055f7427aa4d0df06e6c16802ad52c98f1e9 | delivery/frontend/app/views/abc/frontend/email_signups/new.html.haml | delivery/frontend/app/views/abc/frontend/email_signups/new.html.haml | %h1= @data.page.title
= form_tag url: abc_frontend.email_signups_path, method: :post do
= submit_tag "Sign up"
| %h1= @data.page.title
= form_tag(abc_frontend.email_signups_path, :method => :post) do
= text_field_tag "Email"
= submit_tag "Sign up"
| Correct route helper inside email submission form and add email field. | Correct route helper inside email submission form and add email field.
| Haml | bsd-3-clause | grounded/afterburnercms,grounded/afterburnercms |
b6e5dfeab43acf7aa65161c602e37e673baa2200 | app/views/people/_personal_details.html.haml | app/views/people/_personal_details.html.haml | #details.block.wide
%h3 Personal Details
#top_button
%dl
%dt Name:
%dd= @topic.name
%dt Birth Date:
%dd.last= @topic.date_of_birth.strftime("%d %B %Y") + " (Age #{@topic.age})"
%dt Address:
%dd= raw ((@topic.address or ["Unknown"]) + [@topic.town,@topic.postcode.gsub(/ /," ")])... | #details.block.wide
%h3 Personal Details
#top_button
%dl
%dt Name:
%dd= @topic.name
%dt Birth Date:
- if @topic.date_of_birth
%dd.last= @topic.date_of_birth.strftime("%d %B %Y") + " (Age #{@topic.age})"
- else
%dt Address:
%dd= raw ((@topic.address or ["Unknow... | Handle some missing data from personal details | Handle some missing data from personal details
| Haml | agpl-3.0 | sdc/leap,sdc/leap,sdc-webteam-deploy/leap,sdc-webteam-deploy/leap,sdc-webteam-deploy/leap,sdc/leap,sdc-webteam-deploy/leap,sdc/leap |
f336558589bab1b3416e4c327e31850e94a26ec4 | app/views/projects/snippets/_snippet.html.haml | app/views/projects/snippets/_snippet.html.haml | %li
%h4.snippet-title
= link_to reliable_snippet_path(snippet) do
= truncate(snippet.title, length: 60)
%span.cgray.monospace.tiny.pull-right
= snippet.file_name
%small.pull-right.cgray
Expires:
- if snippet.expires_at
= snippet.expires_at.to_date.to_s(:short)
- else
Nev... | %li
%h4.snippet-title
= link_to reliable_snippet_path(snippet) do
= truncate(snippet.title, length: 60)
%span.cgray.monospace.tiny.pull-right
= snippet.file_name
.snippet-info
= "##{snippet.id}"
%span
by
= image_tag avatar_icon(snippet.author_email), class: "avatar avatar-in... | Remove snippet expiration date from UI | Remove snippet expiration date from UI
| Haml | mit | 8thcolor/eurucamp2014-htdsadr,8thcolor/rubyconfau2015-sadr,8thcolor/rubyconfau2015-sadr,8thcolor/eurucamp2014-htdsadr,8thcolor/rubyconfau2015-sadr,8thcolor/eurucamp2014-htdsadr |
8a21ecce322c7c99acb3d1a518fc6ec27553f6ee | build/index.haml | build/index.haml | !!!
%html
%head
%meta{charset: 'utf-8'}
%title League Schedule
%meta{name: 'HandheldFriendly', content: 'true'}
%meta{name: 'viewport', content: 'width=device-width, height=device-height, user-scalable=no'}
:css
#{include('css/icons.css')}
#{include('css/filters.css')}
#{includ... | !!!
%html
%head
%meta{charset: 'utf-8'}
%title League Schedule
%meta{name: 'HandheldFriendly', content: 'true'}
%meta{name: 'viewport', content: 'width=device-width, height=device-height, user-scalable=no'}
:css
#{include('css/icons.css')}
#{include('css/filters.css')}
#{includ... | Hide no results information unless there are no results | Hide no results information unless there are no results
| Haml | mit | bloopletech/lolschedule,bloopletech/lolschedule,bloopletech/lolschedule |
a01cad4165d5a27e22d290344500726b19ea8ffc | app/views/snapshots/_snapshot.html.haml | app/views/snapshots/_snapshot.html.haml | :ruby
classes = %w[snapshot-card thumbnail]
classes << 'snapshot-card-pending' if snapshot.pending?
data = {
keyboard_focusable: true,
auto_refresh_type: 'snapshot',
auto_refresh_id: snapshot.id,
}
link_options = { class: classes, title: snapshot.title, data: data }
link_options['aria-selected... | :ruby
classes = %w[snapshot-card thumbnail]
classes << 'snapshot-card-pending' if snapshot.pending?
data = {
keyboard_focusable: true,
auto_refresh_type: 'snapshot',
auto_refresh_id: snapshot.id,
}
link_options = { class: classes, title: snapshot.title, data: data }
link_options['aria-selected... | Improve alt text of snapshot thumbnails | Improve alt text of snapshot thumbnails
The default alt text for these images was the filename, which is just a
bunch of letters and numbers. This wasn't helping anyone. Using the
title and viewport width is much better and will benefit people using
assistive technologies.
| Haml | mit | kalw/diffux,diffux/diffux,diffux/diffux,kalw/diffux,kalw/diffux,diffux/diffux |
d4490cb509e41a7ec9f28fbe1cd90a5a74672748 | test/fixtures/hi.html.haml | test/fixtures/hi.html.haml | !!! 5
%html
%head
%title Hi
%body
%h1
:D
%p
#{greeting}
%form
%label
= "reply: "
%input{placeholder: "comment"}
| !!! 5
%html
%head
%title Hi
%body
%h1
hi
%p
#{greeting}
%form
%label
= "reply: "
%input{placeholder: "comment"}
| Fix test fixture filter erorr | Fix test fixture filter erorr
| Haml | mit | okinawarb/haml_i18n_lint,okinawarb/haml_i18n_lint |
039eee7fcd0b30a39ce35fd23d690a10a3df6a42 | app/views/admin/pdf/audit.html.haml | app/views/admin/pdf/audit.html.haml | -# app/views/admin/audit.html.haml
%h1 Healthy EFF Checklist: #{get_month_name(@date)} #{get_year(@date)}
%table#audit_checklist.pure-table.pure-table-bordered
%thead
%tr
%th Employee Name
%th Received?
%th{:style => "text-align:center"} #
%th{:style => "text-align:center"} $
%tbody
... | -# app/views/admin/audit.html.haml
%h1 Healthy EFF Checklist: #{get_month_name(@date)} #{get_year(@date)}
%table#audit_checklist.pure-table.pure-table-bordered
%thead
%tr
%th Employee Name
%th Received?
%th{:style => "text-align:center"} #
%th{:style => "text-align:center"} $
%tbody
... | Use constant instead of hard-coded $ amount | Use constant instead of hard-coded $ amount
| Haml | mit | ashleywillard/healthy-eff,ashleywillard/healthy-eff,ashleywillard/healthy-eff,ashleywillard/healthy-eff |
441f75203a49ea2e1b0bcecc9294617e855c6dc4 | app/views/status_messages/show.html.haml | app/views/status_messages/show.html.haml | -# Copyright (c) 2010, Diaspora Inc. This file is
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
- title "Status Message"
%p
%strong Message:
= @status_message.message
%p
%strong Owner:
= @status_message.person.real_name
%h4= "comments (#{@status_message... | -# Copyright (c) 2010, Diaspora Inc. This file is
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
- title "Status Message"
%p
%strong Message:
= auto_link sanitize @status_message.message
%p
%strong Owner:
= @status_message.person.real_name
%h4= "comments... | Add autolink and sanitize to show page | Add autolink and sanitize to show page
| Haml | agpl-3.0 | despora/diaspora,spixi/diaspora,KentShikama/diaspora,spixi/diaspora,SuperTux88/diaspora,Flaburgan/diaspora,Muhannes/diaspora,Muhannes/diaspora,geraspora/diaspora,jhass/diaspora,Muhannes/diaspora,jhass/diaspora,KentShikama/diaspora,SuperTux88/diaspora,despora/diaspora,geraspora/diaspora,SuperTux88/diaspora,despora/diasp... |
86862b733257c354aab67baa7567a03de5888894 | app/views/layouts/_alerts.haml | app/views/layouts/_alerts.haml | - flash.each do |name, message|
%div{ class: "alert-box #{name}" }
= message.html_safe
%a{ href: "#", class: "close" }
= "×".html_safe
- if !request.get? && local_assigns[:model].present? && !model.valid?
.alert-box.alert
- message_term = local_assigns[:term] ? term : model.class.name.human... | - display_flash = local_assigns.has_key?(:display_flash) ? display_flash : true
- if display_flash
- flash.each do |name, message|
%div{ class: "alert-box #{name}" }
= message.html_safe
%a{ href: "#", class: "close" }
= "×".html_safe
- if !request.get? && local_assigns.has_key?(:model) ... | Use local_assigns has_key instead of present and allow to optionally display flash messages | Use local_assigns has_key instead of present and allow to optionally display flash messages
| Haml | agpl-3.0 | peterkshultz/gradecraft-development,mkoon/gradecraft-development,UM-USElab/gradecraft-development,UM-USElab/gradecraft-development,peterkshultz/gradecraft-development,peterkshultz/gradecraft-development,UM-USElab/gradecraft-development,UM-USElab/gradecraft-development,mkoon/gradecraft-development,mkoon/gradecraft-devel... |
2759af4e3902c1e476404b2c231bb33390ab9ad5 | app/views/entries/activity_log.haml | app/views/entries/activity_log.haml | .row
%h1 My Patients entries:
.row
%table.table.table-striped
%thead
%tr
%th Examination type
%th Value
%th Description
%th User
%th Created at
%tbody
=paginate my_patients_entries, :theme => 'twitter-bootstrap-3'
- my_patients_entries.each do |entry... | .row
%h1 My Patients entries:
.row
%table.table.table-striped
%thead
%tr
%th Examination type
%th Value
%th Description
%th User
%th Created at
%tbody
=paginate my_patients_entries, :theme => 'twitter-bootstrap-3'
- my_patients_entries.each do |entry... | Add units in activity log | Add units in activity log
| Haml | mit | netguru-training/med_app |
1cf9f30cb1a79ffaa639a8a1dadce2e086739d32 | app/views/members/_member.html.haml | app/views/members/_member.html.haml | .col-12.col-sm-6.col-lg-4.mb-3
%section.card
.card-body
%header.d-flex.align-items-center
= link_to member, class: 'd-box mr-2 my-1' do
= member.avatar_image_tag(:medium)
.info
%h5.card-title
= link_to member.short_name, member, class: 'text-dark'
.c... | .col-12.col-sm-6.col-lg-4.mb-3
%section.card
.card-body.d-flex.align-items-center
.my-1
= member.avatar_image_tag(:medium)
.ml-2
%h5.card-title
= link_to member.short_name, member, class: 'stretched-link text-dark'
.card-subtitle.text-muted
= member.played_i... | Use `.stretched-link` for member list item | Use `.stretched-link` for member list item
| Haml | mit | sankichi92/LiveLog,sankichi92/LiveLog,sankichi92/LiveLog,sankichi92/LiveLog |
b22947d13efd93b1015da6cc7fecac1ee00fa059 | app/views/report/_db_show.html.haml | app/views/report/_db_show.html.haml | #main_div
%h3
= _('Basic Information')
.form-horizontal.static
.form-group
%label.control-label.col-md-2
= _('Name')
.col-md-8
%p.form-control-static
= h(widget.name)
.form-group
%label.control-label.col-md-2
= _('Tab Title')
.col-md-8
%p... | %h3
= _('Basic Information')
.form-horizontal.static
.form-group
%label.control-label.col-md-2
= _('Name')
.col-md-8
%p.form-control-static
= h(widget.name)
.form-group
%label.control-label.col-md-2
= _('Tab Title')
.col-md-8
%p.form-control-static
= h(widge... | Fix duplicated DOM id 'main_div' in Dashboard editing. | Fix duplicated DOM id 'main_div' in Dashboard editing.
The content of the partial is places inside #main_div. So it should not
contain a #main_div.
| Haml | apache-2.0 | tinaafitz/manageiq,jvlcek/manageiq,borod108/manageiq,hstastna/manageiq,d-m-u/manageiq,ilackarms/manageiq,borod108/manageiq,NickLaMuro/manageiq,NaNi-Z/manageiq,pkomanek/manageiq,d-m-u/manageiq,syncrou/manageiq,jntullo/manageiq,agrare/manageiq,yaacov/manageiq,aufi/manageiq,romaintb/manageiq,andyvesel/manageiq,KevinLoisea... |
7a8ee59f5b5ff452b7236e7e4c404419f390f867 | app/views/surveys/results.html.haml | app/views/surveys/results.html.haml | .container.survey__admin.survey__results
.block
%h1 #{@survey.name} Results
- @surveys_question_groups.each_with_index do |group, index|
= render partial: "question_group", locals: question_group_locals(group, index, @surveys_question_groups.length, true)
| .container.survey__admin.survey__results
.block
%h1 #{@survey.name} Results
= link_to "Download CSV", survey_results_path(format: 'csv')
- @surveys_question_groups.each_with_index do |group, index|
= render partial: "question_group", locals: question_group_locals(group, index, @surveys_question_groups.... | Add Survey Results CSV Download Button | Add Survey Results CSV Download Button
| Haml | mit | sejalkhatri/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard,alpha721/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard,majakomel/WikiEduDashboard,feelfreelinux/WikiEduDashboard,MusikAnimal/WikiEduDashboard,MusikAnimal/WikiEduDashboard,alpha721/WikiEduDashboard,MusikAnimal/WikiEduDashboard,MusikAnimal/... |
54e65c11762c867c39e9566dac3307bf790d2d86 | app/views/notify/_note_message.html.haml | app/views/notify/_note_message.html.haml | %p
%strong #{@note.author_name}
left next message:
%cite{style: 'color: #666'}
= markdown(@note.note)
| %p
%strong #{@note.author_name}
wrote:
%cite{style: 'color: #666'}
= markdown(@note.note)
| Improve message in email notifications | Improve message in email notifications
| Haml | mit | dukex/gitlabhq,adaiguoguo/gitlab_globalserarch,bozaro/gitlabhq,stellamiranda/mobbr-gitlabhq,mrb/gitlabhq,nmav/gitlabhq,daiyu/gitlab-zh,stanhu/gitlabhq,stanhu/gitlabhq,gorgee/gitlabhq,phinfonet/mobbr-gitlabhq,dplarson/gitlabhq,Tyrael/gitlabhq,kitech/gitlabhq,michaKFromParis/gitlabhqold,hzy001/gitlabhq,yatish27/gitlabhq,... |
14f47af5688968f5033391941db0ddb946fa3b70 | dashboard/app/views/shared/_courseblock_action.haml | dashboard/app/views/shared/_courseblock_action.haml | - if current_user && showState
.clear
- script = Script.find_by_name(id)
- user_script = current_user.user_scripts.where(script_id: script.id).first
- next_unpassed_progression_level = current_user.next_unpassed_progression_level(script)
- if user_script.try(:completed_at) || (user_script && next_unpassed_p... | - if current_user && showState
.clear
- script = Script.find_by_name(id)
- user_script = current_user.user_scripts.where(script_id: script.id).first
- next_unpassed_progression_level = current_user.next_unpassed_progression_level(script)
- if user_script.try(:completed_at) || (user_script && next_unpassed_p... | Make 'try now' show up again for unstarted courses. Relying on User.next_unpassed_progression_level was not correct, since it will just return the first level for a progression that has not yet been started. This meant we were showing 'continue' even when we should have been showing 'try now'. | studio.code.org: Make 'try now' show up again for unstarted courses.
Relying on User.next_unpassed_progression_level was not correct, since it will just return the first level for a progression that has not yet been started. This meant we were showing 'continue' even when we should have been showing 'try now'.
| Haml | apache-2.0 | rvarshney/code-dot-org,pickettd/code-dot-org,dillia23/code-dot-org,dillia23/code-dot-org,rvarshney/code-dot-org,ty-po/code-dot-org,rvarshney/code-dot-org,rvarshney/code-dot-org,dillia23/code-dot-org,ty-po/code-dot-org,rvarshney/code-dot-org,ty-po/code-dot-org,dillia23/code-dot-org,pickettd/code-dot-org,rvarshney/code-d... |
b8cbafb286eccbd5be9b192e0f5acff17e56cf18 | app/views/components/cards/_article_card.html.haml | app/views/components/cards/_article_card.html.haml | :ruby
css_classes = [
"card",
"card--icon",
"card--poi",
"card--poi--article",
"icon--article--pin--before",
properties[:double?] ? "card--double card--full-image" : "card--single card--extended-content"
].join(" ")
%article.js-card{class: css_classes}
%a.link--wrapper{href: propertie... | :ruby
css_classes = [
"card",
"card--icon",
"card--poi",
"card--poi--article",
"card--small-image",
"icon--article--pin--before",
properties[:double?] ? "card--double card--full-image" : "card--single card--extended-content"
].join(" ")
%article.js-card{class: css_classes}
%a.link... | Revert "fix article haml for article images that are sized like place images" - change introduced image too large for article card. | Revert "fix article haml for article images that are sized like place images" - change introduced image too large for article card.
This reverts commit 962c321e061ac27d4fd383f01eb2783885eb5f7c.
| Haml | mit | Lostmyname/rizzo,lonelyplanet/rizzo,lonelyplanet/rizzo,Lostmyname/rizzo,lonelyplanet/rizzo,Lostmyname/rizzo,lonelyplanet/rizzo,Lostmyname/rizzo,Lostmyname/rizzo,lonelyplanet/rizzo |
8143f09507b4583187ba2edcf29a049b2d5a8a6d | app/views/shared/_forum_widget.html.haml | app/views/shared/_forum_widget.html.haml | :css
.sotm img {max-width: 90%;}
.large-12.columns.no-padding.forum-block.rounded-panel.hide-for-small
.large-12.columns
%h4 January Kitten of the Month
%hr
%ul.sotm{:style => "text-align: center; padding-top: 15px;"}
= image_tag "http://placekitten.com/g/300/382"
| :css
.sotm img {max-width: 90%;}
.large-12.columns.no-padding.forum-block.rounded-panel.hide-for-small
%ul.sotm{:style => "text-align: center; padding-top: 15px;"}
= link_to "http://hummingbird.me/2013/" do
= image_tag "http://i.imgur.com/C36CvjG.jpg"
| Replace forum widget with 2013 review. | Replace forum widget with 2013 review.
| Haml | apache-2.0 | vevix/hummingbird,wlads/hummingbird,saintsantos/hummingbird,jcoady9/hummingbird,Snitzle/hummingbird,sidaga/hummingbird,vevix/hummingbird,sidaga/hummingbird,NuckChorris/hummingbird,NuckChorris/hummingbird,cybrox/hummingbird,qgustavor/hummingbird,xhocquet/hummingbird,sidaga/hummingbird,saintsantos/hummingbird,hummingbird... |
e35c7dcf29527db756cad8dc1fdb43b3b20d9dc5 | app/views/my/_sidebar.html.haml | app/views/my/_sidebar.html.haml | // Locals:
// user_spaces (array of Space): spaces the user is a member of
= render 'shared/user_card', user: current_user
#sidebar-menu
%ul
%li{ home_sidebar_menu_select_if(:home) }
= link_to main_app.my_home_path do
= t(".menu.home")
%li{ home_sidebar_menu_select_if(:activity) }
= li... | // Locals:
// user_spaces (array of Space): spaces the user is a member of
= render 'shared/user_card', user: current_user
#sidebar-menu
%ul
%li{ home_sidebar_menu_select_if(:home) }
= link_to main_app.my_home_path do
= t(".menu.home")
%li{ home_sidebar_menu_select_if(:activity) }
= li... | Remove "my spaces" link from home, the page doesn't exist yet | Remove "my spaces" link from home, the page doesn't exist yet
| Haml | agpl-3.0 | mconf/mconf-web,mconf/mconf-web,mconf/mconf-web,mconf/mconf-web |
9cb2ca95abd8b900bdf5a30abb8f69679017a026 | app/views/inspect/nodes/_object_attributes.haml | app/views/inspect/nodes/_object_attributes.haml | - if object && object.attributes.values.any?
%tr
%td
= name
%td
.node-attrs
- object.attributes.select { |_, val| val.present? }.sort_by(&:first).each do |key, value|
.attribute
.key<>= key
.value>
- if value.is_a?(Hash)
- val... | - if object && object.attributes.values.any?
%tr
%td
= name
%td
.node-attrs
- object.attributes.select { |_, val| val.present? }.sort_by(&:first).each do |key, value|
.attribute
.key<>= key
.value>
- if value.is_a?(Hash)
- val... | Fix that object attributes are not always arrays | Fix that object attributes are not always arrays
| Haml | mit | quintel/etengine,quintel/etengine,quintel/etengine,quintel/etengine |
51ab7b73489919db05a22ae77c9a2fd8686377d9 | app/views/groups/organogram.html.haml | app/views/groups/organogram.html.haml | - content_for :breadcrumbs do
= breadcrumbs(Home.path + @group.path + ['Organogram'])
- @page_title = "#{ @group.name } Organogram"
.organogram
.group-title
- if @group.acronym?
%h1
= @group.acronym
team organogram
- else
%h1
= @group.name
team organogram
- ... | - content_for :breadcrumbs do
= breadcrumbs(Home.path + @group.path + ['Organogram'])
- @page_title = "#{ @group.name } Organogram"
.organogram
.group-title
- if @group.acronym?
%h1
= @group.acronym
team organogram
- else
%h1
= @group.name
team organogram
- ... | Add organogram page markup, styling and print styling | Add organogram page markup, styling and print styling
| Haml | mit | ministryofjustice/peoplefinder,ministryofjustice/peoplefinder,ministryofjustice/peoplefinder,ministryofjustice/peoplefinder,ministryofjustice/peoplefinder |
482c6a9157c2984304db0d05c23b96eadce7088f | app/views/public/show.html.haml | app/views/public/show.html.haml | -# Copyright (C) 2013, 2014, 2015 Dr. Thomas Schank (DrTom@schank.ch, Thomas.Schank@algocon.ch)
-# Licensed under the terms of the GNU Affero General Public License v3.
-# See the LICENSE.txt file provided with this software.
#welcome-page.cider-ci.text-center
- cache WelcomePageSettings.find.cache_signature do... | -# Copyright (C) 2013, 2014, 2015 Dr. Thomas Schank (DrTom@schank.ch, Thomas.Schank@algocon.ch)
-# Licensed under the terms of the GNU Affero General Public License v3.
-# See the LICENSE.txt file provided with this software.
#welcome-page.cider-ci.text-center
- cache WelcomePageSettings.find.cache_signature do... | Fix link to releases on public page | Fix link to releases on public page
| Haml | agpl-3.0 | eins78/cider-ci_user-interface,cider-ci/cider-ci_user-interface,cider-ci/cider-ci_user-interface,cider-ci/cider-ci_user-interface,eins78/cider-ci_user-interface,eins78/cider-ci_user-interface |
01df23b30be2f822993548dc62350386c9c8c61e | app/views/members/_mini_profile.html.haml | app/views/members/_mini_profile.html.haml | .dashboard-container
.d-flex.flex-column.flex-sm-row.align-items-sm-center
%div.member-photo.text-center.mr-0.mr-sm-3
= link_to profile_picture_tag(member, size: "128", style: "width: 128px; height: auto;"), posts_member_path(member.username)
%div.flex-fill
.member-name= member.username
- if... | .dashboard-container.dashboard-container-border-accent
.d-flex.flex-column.flex-sm-row.align-items-sm-center
%div.member-photo.text-center.mr-0.mr-sm-3
= link_to profile_picture_tag(member, size: "128", style: "width: 128px; height: auto;"), posts_member_path(member.username)
%div.flex-fill
.membe... | Make highlighted search results more consistent | Make highlighted search results more consistent
| Haml | mit | myapnea/www.myapnea.org,myapnea/www.myapnea.org,myapnea/www.myapnea.org |
7d07c003b6aed4718e4c14d2283274282d3d4824 | app/views/members/_form.html.haml | app/views/members/_form.html.haml | - form.inputs do
= form.input :name
= form.input :wow_class, :as => :select, :collection => Member::WOW_CLASSES, :label => 'Class'
= form.input :rank_id, :as => :select, :collection => @ranks.collect { |r| [r.name, r.id] }, :include_blank => true, :required => false
= form.input :user_id, :as => :select, :colle... | - form.inputs do
= form.input :name
= form.input :wow_class, :as => :select, :collection => Member::WOW_CLASSES, :label => 'Class'
= form.input :rank_id, :as => :select, :collection => @ranks.collect { |r| [r.name, r.id] }, :include_blank => true, :required => false
= form.input :user_id, :as => :select, :colle... | Make the member form button more generic | Make the member form button more generic
| Haml | mit | tsigo/jugglf,tsigo/jugglf |
bff8b8a1d179e4719822ed41189f6b807f27afb5 | app/views/runs/_history.html.haml | app/views/runs/_history.html.haml | %li.list-group-item{class: run.finished_successfully? ? "alert-success" : "alert-danger"}
Ran
- if run.git_revision
revision
= link_to run.git_revision[0..7], "https://github.com/#{run.full_name}/commit/#{run.git_revision}"
and
- if run.finished_successfully?
completed successfully
- else
fail... | %li.list-group-item{class: run.finished_successfully? ? "alert-success" : "alert-danger"}
- if run.auto?
Auto
- else
Manually
ran
- if run.git_revision
revision
= link_to run.git_revision[0..7], "https://github.com/#{run.full_name}/commit/#{run.git_revision}"
and
- if run.finished_successful... | Tidy up wording of manual / auto run | Tidy up wording of manual / auto run
| Haml | agpl-3.0 | openaustralia/morph,OpenAddressesUK/morph,otherchirps/morph,otherchirps/morph,otherchirps/morph,openaustralia/morph,openaustralia/morph,OpenAddressesUK/morph,openaustralia/morph,otherchirps/morph,otherchirps/morph,OpenAddressesUK/morph,otherchirps/morph,OpenAddressesUK/morph,openaustralia/morph,openaustralia/morph,othe... |
8a938bfcb256eb9d165351aaed2cff416c0cdcdf | app/views/users/profile.html.haml | app/views/users/profile.html.haml | %h4
= t("titles.adopted", :thing_name => @thing.name != "" ? @thing.name.titleize : t("defaults.this_thing", :thing => t("defaults.thing")))
%div
= t("titles.byline", :name => @thing.user.name)
= t("titles.ofline", :organization => @thing.user.organization) unless @thing.user.organization.blank?
- if admin_signed... | %h4
= t("titles.adopted", :thing_name => @thing.name != "" ? @thing.name.titleize : t("defaults.this_thing", :thing => t("defaults.thing")))
%div
= t("titles.byline", :name => @thing.user.name)
= t("titles.ofline", :organization => @thing.user.organization) unless @thing.user.organization.blank?
| Remove button to remind users from modal | Remove button to remind users from modal
Decided to not let admins do this either
Fixes #105
| Haml | bsd-3-clause | baraka101/dar-adopt-a-mtaro,baraka101/dar-adopt-a-mtaro,baraka101/dar-adopt-a-mtaro |
2e440a778ec95e2fa036745e6f9db15d362f1397 | views/index.haml | views/index.haml | %h2= label
%table{:border => '1', :cellpadding => '2'}
%thead
%tr
%th Id
%th Description
%th Label Applied
%th Assignee
%tbody
- list.each do |item|
%tr
%td= item['number']
%td= item['title']
%td= item['label_event_data']['created_at']
%td
- if item[... | %h2= label
%table{:border => '1', :cellpadding => '2'}
%thead
%tr
%th Id
%th Description
%th Label Applied
%th Assignee
%tbody
- list.each do |item|
%tr
%td
%a{href: item['html_url']}= item['number']
%td= item['title']
%td= item['label_event_data']['create... | Make the issue number a link to the github issue | Make the issue number a link to the github issue
| Haml | mit | anthlam/gi-web,anthlam/gi-web |
fa292539b0ff8974c85fcac0f20ff9330574a8ca | themes/learn/views/home/_project_info.html.haml | themes/learn/views/home/_project_info.html.haml | - content_for(:project_info) do
%p
Molecular Workbench is already one of the most versatile ways to experience the science of atoms and molecules. Now thanks to Google's generosity and the power of HTML5, we're bringing it to Web browsers everywhere.
%p
= link_to "Try out the activities to see for yourself... | - content_for(:project_info) do
%p
Since 1994, the Concord Consortium has been developing deeply digital tools and learning activities that capture
the power of curiosity and create revolutionary new approaches to science, math and engineering education.
This new portal is being developed as a central rep... | Fix About text on Learn portal | Fix About text on Learn portal
[#107521950]
| Haml | mit | concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse |
c16f93bc328855140e3d3185d9035688011de4bc | frontend/app/views/exh/todo.html.haml | frontend/app/views/exh/todo.html.haml | .row.results_summary
.col-12
- if @cards.present?
#{pluralize(@cards.total_entries, "card")} unimplemented cards
- else
All cards are implemented!
- @cards.each do |card, printings|
.row.card_row
.col-8.cardinfo
%h3.card_title
= link_to_card(card) do
= card.name
... | .row.results_summary
.col-12
- if @cards.present?
#{pluralize(@cards.count, "card")} unimplemented cards
- else
All cards are implemented!
- @cards.each do |card, printings|
.row.card_row
.col-8.cardinfo
%h3.card_title
= link_to_card(card) do
= card.name
- leg... | Fix unimplemented card count at top of todo list | EXH: Fix unimplemented card count at top of todo list
| Haml | mit | fenhl/lore-seeker,fenhl/lore-seeker,fenhl/lore-seeker,fenhl/lore-seeker,fenhl/lore-seeker |
4ba047287e8a010473de3aeb929396e0f0f2e360 | app/views/problems/show.haml | app/views/problems/show.haml | - content_for :javascript do
!= map_javascript_include_tags
- if @problem.location
#map-col
#map
:javascript
var problem_lat = #{@problem.location.lat};
var problem_lon = #{@problem.location.lon};
jQuery(document).ready(function(){
problem_init();
});
.problem-info
%h3= @problem.subject
... | - content_for :javascript do
!= map_javascript_include_tags
- if @problem.location
#map-col
#map
:javascript
var areaStops = #{location_stops_js([@problem.location])}
jQuery(document).ready(function(){
area_init();
});
.problem-info
%h3= @problem.subject
%p.problem-desc... | Allow display of route on problem/story page | Allow display of route on problem/story page
| Haml | agpl-3.0 | mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport |
3382b78df4fb986b4967c06dfbc4d817a56f5fa1 | app/views/articles/_blog_header.html.haml | app/views/articles/_blog_header.html.haml | %header
= image_tag gravatar_url("ralin.chimev@gmail.com", 64), alt: t('articles.header.title')
%h1= t('articles.header.title')
- if authenticated?
= link_to t('articles.header.new').upcase, new_article_path
.total
%p= "#{t('articles.header.number_of_posts').upcase}: #{@articles.size}"
| %header
%h1= t('articles.header.title')
- if authenticated?
= link_to t('articles.header.new').upcase, new_article_path
.total
%p= "#{t('articles.header.number_of_posts').upcase}: #{@articles.size}"
| Remove gravatar image from blog page | Remove gravatar image from blog page
| Haml | mit | ralinc/ralin.net,ralinc/ralin.net,ralinc/ralin.net |
fcb37d6e3d6af5f077204c734cbee0ea8369cf37 | app/views/events/_event_actions.html.haml | app/views/events/_event_actions.html.haml | - if @event.announce_only
= link_to @event.external_url, class: 'btn btn-primary' do
Go to external booking site
- else
- if @event.invitable
- if logged_in?
- unless @event.coaches_only?
= link_to event_student_rsvp_path(@event), class: 'btn btn-primary mr-2' do
= t('events.attend_a... | - if @event.announce_only
= link_to @event.external_url, class: 'btn btn-primary' do
Go to external booking site
- else
- if @event.invitable
- if @event.past?
%p.badge.bg-primary This event has already occurred.
- else
- if logged_in?
- unless @event.coaches_only?
= link_t... | Add if statment to to check if the event is in the past | Add if statment to to check if the event is in the past
| Haml | mit | codebar/planner,laszpio/planner,laszpio/planner,laszpio/planner,laszpio/planner,codebar/planner,codebar/planner,codebar/planner |
608fff77c5459fae1f8f950401976ce6df2cae4e | app/views/opportunities/reports.html.haml | app/views/opportunities/reports.html.haml | %script{:type => "text/javascript"}
:plain
$(function () {
$('#chart_div').highcharts({
chart: {
type: 'funnel',
marginRight: 100
},
title: {
text: 'Sales funnel',
x: -50
},
plotOpt... | %script{:type => "text/javascript"}
:plain
$(function () {
Highcharts.setOptions({
lang: {
thousandsSep: ','
}
});
$('#chart_div').highcharts({
chart: {
type: 'funnel',
marginRight: 100
},
title: {
... | Add lbs suffix to highchart. | Add lbs suffix to highchart.
| Haml | mit | sustainableharvest/fat_free_crm,sustainableharvest/fat_free_crm |
0c84ffad1c2d1e10e255d832fa16b7eb097f566c | app/views/projects/blob/_remove.html.haml | app/views/projects/blob/_remove.html.haml | #modal-remove-blob.modal.hide
.modal-dialog
.modal-content
.modal-header
%a.close{href: "#", "data-dismiss" => "modal"} ×
%h3.page-title Remove #{@blob.name}
%p.light
From branch
%strong= @ref
.modal-body
= form_tag project_blob_path(@project, @id),... | #modal-remove-blob.modal.hide
.modal-dialog
.modal-content
.modal-header
%a.close{href: "#", "data-dismiss" => "modal"} ×
%h3.page-title Remove #{@blob.name}
%p.light
From branch
%strong= @ref
.modal-body
= form_tag project_blob_path(@project, @id),... | Improve remove file textarea placeholder. | Improve remove file textarea placeholder.
| Haml | mit | fscherwi/gitlabhq,MauriceMohlek/gitlabhq,aaronsnyder/gitlabhq,koreamic/gitlabhq,sue445/gitlabhq,nguyen-tien-mulodo/gitlabhq,lvfeng1130/gitlabhq,jvanbaarsen/gitlabhq,kemenaran/gitlabhq,bigsurge/gitlabhq,ayufan/gitlabhq,aaronsnyder/gitlabhq,NKMR6194/gitlabhq,hzy001/gitlabhq,theodi/gitlabhq,Razer6/gitlabhq,TheWatcher/gitl... |
9827b8c98a089e49210f09821dbb5bb436e69795 | app/views/shared/_flash_messages.html.haml | app/views/shared/_flash_messages.html.haml | - flash.each do |key, value|
%div.fade.in{class: flash_class(key), role: 'alert'}
= value
%button(type="button" class="close" data-dismiss="alert" aria-label="Close")
%span(aria-hidden="true")
%i.fa.fa-times
| - flash.each do |key, value|
%div.fade.in{class: flash_class(key), role: 'alert'}
= value
%button(type="button" class="close" data-dismiss="alert" aria-label="Close")
%span(aria-hidden="true")
%i.fa.fa-times-circle-o
| Update the flash close icon | Update the flash close icon
| Haml | mit | kostyadubinin/movies,kostyadubinin/movies,kostyadubinin/movies |
b5d615fd9c3e8dc63c0a4c9958536c32e34bb5c4 | app/views/campaigns/show.haml | app/views/campaigns/show.haml | - content_for :javascript do
!= map_javascript_include_tags
- if @campaign.location
#map-col
#map
:javascript
var areaStops = #{location_stops_js([@campaign.location])}
jQuery(document).ready(function(){
area_init();
});
.campaign-info
%h3= @campaign.title
%p.campaign= ... | - content_for :javascript do
!= map_javascript_include_tags
- if @campaign.location
#map-col
#map
:javascript
var areaStops = #{location_stops_js([@campaign.location])}
jQuery(document).ready(function(){
area_init();
});
.campaign-info
%h3= @campaign.title
%p.campaign= ... | Add form for writing to location operator | Add form for writing to location operator
| Haml | agpl-3.0 | mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport |
92326af2ff03801d31da5c6d206127f8a08c0848 | app/views/community_support/new.html.haml | app/views/community_support/new.html.haml | .container-fluid
.support-form
%h1=t('community_support_form.new.form.title')
%p=t('community_support_form.new.form.header_text_html')
%ul
%li=t('community_support_form.new.form.questions.a')
%li=t('community_support_form.new.form.questions.b')
%li=t('community_support_form.new.form.ques... | .container-fluid#wheelmap
.support-form
%h1=t('community_support_form.new.form.title')
%p=t('community_support_form.new.form.header_text_html')
%ul
%li=t('community_support_form.new.form.questions.a')
%li=t('community_support_form.new.form.questions.b')
%li=t('community_support_form.new.... | Fix language picer not being styled on community support page | Fix language picer not being styled on community support page
| Haml | agpl-3.0 | sozialhelden/wheelmap,sozialhelden/wheelmap,sozialhelden/wheelmap,sozialhelden/wheelmap,sozialhelden/wheelmap |
1b1f1d33e01cfd85d9519b63728697691a547d0c | app/views/devise/registrations/_edit_email.html.haml | app/views/devise/registrations/_edit_email.html.haml | = form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put, :class => 'form-horizontal' }) do |f|
= devise_error_messages!
.form-group
= f.label :email, :class => 'control-label col-md-2'
.col-md-8
= f.email_field :email, :class => 'form-control'
... | = form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put, :class => 'form-horizontal' }) do |f|
= devise_error_messages!
.form-group
= f.label :email, :class => 'control-label col-md-2'
.col-md-8
= f.email_field :email, :class => 'form-control'
... | Add planting reminder checkbox to email settings | Add planting reminder checkbox to email settings
| Haml | agpl-3.0 | josefdaly/growstuff,CjayBillones/growstuff,andrba/growstuff,korabh/growstuff,GabrielSandoval/growstuff,CarsonBills/GrowStuffCMB,jdanielnd/growstuff,iressgrad15/growstuff,sksavant/growstuff,yez/growstuff,Growstuff/growstuff,CarsonBills/GrowStuffCMB,Br3nda/growstuff,maco/growstuff,pozorvlak/growstuff,maco/growstuff,pozor... |
42180c4c9798cee8aa2a2f112b61d8f2e965f789 | app/views/admin/home_image/edit.html.haml | app/views/admin/home_image/edit.html.haml | .box
.boxheader
%span.header= assets_name
(click to select)
.asset-list.boxcontent
- @assets.each do |asset|
%span
= link_to asset_image_tag(asset, :thumb), admin_home_home_image_path(:asset_id => asset.id), :method => :put
= will_paginate @assets
| .box
.boxheader
%span.header= assets_name
(click to select)
.asset-list.boxcontent
- @assets.each do |asset|
%span
= link_to asset_image_tag(asset, :thumb), admin_home_home_image_path(:asset_id => asset.id), :method => :put
%p
= will_paginate @assets
| Fix a style problem on the home image selection page. | Fix a style problem on the home image selection page.
| Haml | mit | aub/spritz,aub/spritz,aub/spritz |
6af4bb9ecfc5e66536f8344534163040bc4cb535 | app/views/crops/_photos.html.haml | app/views/crops/_photos.html.haml | - if @crop.photos.size.positive?
%h2
= photo_icon
Photos
- [Planting, Harvest, Seed].each do |model_name|
- if photos.by_model(model_name).size.positive?
.crop-photos
%h3.font-italic
#{@crop.name.capitalize} #{t("activerecord.models.#{model_name.to_s.downcase}.other")}
.r... | %section.photos
- if @crop.photos.size.positive?
%h2
= photo_icon
Photos
- [Planting, Harvest, Seed].each do |model_name|
- if photos.by_model(model_name).size.positive?
.crop-photos
%h3
#{@crop.name.capitalize} #{t("activerecord.models.#{model_name.to_s.downcas... | Fix tiny crop photos on small screens | Fix tiny crop photos on small screens
| Haml | agpl-3.0 | Br3nda/growstuff,cesy/growstuff,yez/growstuff,Growstuff/growstuff,Growstuff/growstuff,yez/growstuff,yez/growstuff,cesy/growstuff,Growstuff/growstuff,cesy/growstuff,Br3nda/growstuff,Br3nda/growstuff,Growstuff/growstuff,cesy/growstuff,Br3nda/growstuff,yez/growstuff |
8fe63dab52f6e72aaab1141f2af5d72b012064b7 | app/views/layouts/_head.html.haml | app/views/layouts/_head.html.haml | %head
%meta{charset: "utf-8"}
%title
GitLab
= " > #{@project.name}" if @project && !@project.new_record?
= favicon_link_tag 'favicon.ico'
= stylesheet_link_tag "application"
= javascript_include_tag "application"
-# Atom feed
- if controller_name == 'projects' && action_name == 'index'
= au... | %head
%meta{charset: "utf-8"}
%title
GitLab
= " > #{@project.name}" if @project && !@project.new_record?
= favicon_link_tag 'favicon.ico'
= stylesheet_link_tag "application"
= javascript_include_tag "application"
-# Atom feed
- if controller_name == 'projects' && action_name == 'index'
= au... | Use current_controller? in layouts/_head partial | Use current_controller? in layouts/_head partial
| Haml | mit | ikappas/gitlabhq,atomaka/gitlabhq,whluwit/gitlabhq,chenrui2014/gitlabhq,theonlydoo/gitlabhq,gopeter/gitlabhq,whluwit/gitlabhq,copystudy/gitlabhq,initiummedia/gitlabhq,yuyue2013/ss,liyakun/gitlabhq,inetfuture/gitlab-tweak,shinexiao/gitlabhq,folpindo/gitlabhq,kitech/gitlabhq,rfeese/gitlab-ce,Devin001/gitlabhq,NKMR6194/gi... |
53eb97ba30e2b4b55c8d1d71bdb31a02fbc2fe27 | app/views/layouts/_head.html.haml | app/views/layouts/_head.html.haml | %head
%meta(charset="utf-8")
%title= @title.join ' -> '
- if current_account && current_account.stylesheet.present?
= stylesheet_link_tag current_account.stylesheet, :media => "screen, projection"
- elsif mobile?
= stylesheet_link_tag 'mobile'
- else
= stylesheet_link_tag 'application', :media => ... | %head
%meta(charset="utf-8")
%title= @title.join ' → '
- if current_account && current_account.stylesheet.present?
= stylesheet_link_tag current_account.stylesheet, :media => "screen, projection"
- elsif mobile?
= stylesheet_link_tag 'mobile'
- else
= stylesheet_link_tag 'application', :media => "... | Replace -> by → (and (automatically) remove end line space) | Replace -> by → (and (automatically) remove end line space)
| Haml | agpl-3.0 | linuxfrorg/linuxfr.org,cykl/linuxfr.org,linuxfrorg/linuxfr.org,linuxfrorg/linuxfr.org,chtitux/linuxfr.org,chtitux/linuxfr.org,cykl/linuxfr.org,linuxfrorg/linuxfr.org |
4914109cb8235b66e965a58776c8dcfcc2f309a5 | app/views/shared/_file_highlight.html.haml | app/views/shared/_file_highlight.html.haml | .file-content.code{class: user_color_scheme_class}
.line-numbers
- if blob.data.present?
- blob.data.lines.to_a.size.times do |index|
- offset = defined?(first_line_number) ? first_line_number : 1
- i = index + offset
= link_to "#L#{i}", id: "L#{i}", rel: "#L#{i}" do
%i.fa.... | .file-content.code{class: user_color_scheme_class}
.line-numbers
- if blob.data.present?
- blob.data.lines.to_a.size.times do |index|
- offset = defined?(first_line_number) ? first_line_number : 1
- i = index + offset
= link_to "#L#{i}", id: "L#{i}", rel: "#L#{i}" do
%i.fa.... | Fix code rendering for snippets | Fix code rendering for snippets
| Haml | mit | michaKFromParis/gitlabhq,michaKFromParis/gitlabhq,ksoichiro/gitlabhq,ksoichiro/gitlabhq,michaKFromParis/gitlabhqold,ksoichiro/gitlabhq,michaKFromParis/gitlabhqold,michaKFromParis/gitlabhq,michaKFromParis/gitlabhq,michaKFromParis/gitlabhqold,ksoichiro/gitlabhq,michaKFromParis/gitlabhqold |
762beb7c1cdf8f5c5b561a6fc43d0b0a74d31f84 | app/views/shop/products/_summary.html.haml | app/views/shop/products/_summary.html.haml | .product-thumb
%a{"ng-click" => "triggerProductModal()"}
%span.product-thumb__bulk-label{"ng-if" => "::product.group_buy"}
= t(".bulk")
%img{"ng-src" => "{{::product.primaryImageOrMissing}}"}
.summary
.summary-header
%h3
%a{"ng-click" => "triggerProductModal()", href: 'javascript:void(0)'}
... | .product-thumb
%a{"ng-click" => "triggerProductModal()"}
%span.product-thumb__bulk-label{"ng-if" => "::product.group_buy"}
= t(".bulk")
%img{"ng-src" => "{{::product.primaryImageOrMissing}}", loading: "lazy"}
.summary
.summary-header
%h3
%a{"ng-click" => "triggerProductModal()", href: 'java... | Load product images in the shop lazily | Load product images in the shop lazily
The browser decides when to load the image, usually when it's close to
the viewport.
| Haml | agpl-3.0 | openfoodfoundation/openfoodnetwork,openfoodfoundation/openfoodnetwork,openfoodfoundation/openfoodnetwork,openfoodfoundation/openfoodnetwork |
b83db1d4e77f8c4c4f18711b4134af08a641a9c5 | app/views/crops/_predictions.html.haml | app/views/crops/_predictions.html.haml | - unless crop.perennial.nil?
.predictions
.row
%p
#{crop.name} is
- if crop.perennial == true
= link_to 'https://en.wikipedia.org/wiki/Annual_vs._perennial_plant_evolution' do
a perennial crop
(living more than two years)
- elsif crop.perennial == fals... | .predictions
- unless crop.perennial.nil?
.row
%p
#{crop.name} is
- if crop.perennial == true
= link_to 'https://en.wikipedia.org/wiki/Annual_vs._perennial_plant_evolution' do
a perennial crop
(living more than two years)
- elsif crop.perennial == fals... | Fix predictions, it wasn't showing nil | Fix predictions, it wasn't showing nil
| Haml | agpl-3.0 | yez/growstuff,yez/growstuff,dv2/growstuff,cesy/growstuff,Growstuff/growstuff,dv2/growstuff,dv2/growstuff,pozorvlak/growstuff,Br3nda/growstuff,cesy/growstuff,Br3nda/growstuff,yez/growstuff,cesy/growstuff,Br3nda/growstuff,yez/growstuff,pozorvlak/growstuff,cesy/growstuff,Growstuff/growstuff,Growstuff/growstuff,dv2/growstu... |
128531146303657b889218462f40a68b96fda43d | app/views/members/coop/index.html.haml | app/views/members/coop/index.html.haml | %h2 Members
- if @membership_applications_pending.present?
.section
%h3 Membership applications received
- if @membership_issues.present?
.section
%h3 Membership issues
.section
%h3 List of Members
%table.members
%tr
%th Name
%th Last login
- @members.each do |member|
%tr
... | %h2 Members
- if @membership_applications_pending.present?
.section
%h3 Membership applications received
- if @membership_issues.present?
.section
%h3 Membership issues
.section
%h3 List of Members
%table.members
%tr
%th Name
%th Last login
%th Joined
- @members.each do |mem... | Add induction date to Members index page. | Add induction date to Members index page.
| Haml | agpl-3.0 | oneclickorgs/one-click-orgs,oneclickorgs/one-click-orgs,oneclickorgs/one-click-orgs,oneclickorgs/one-click-orgs |
96c0beea9f0ef31bb1368d5f65d66cad1dc7578f | angular/core/components/poll/common/did_not_votes_panel/poll_common_did_not_votes_panel.haml | angular/core/components/poll/common/did_not_votes_panel/poll_common_did_not_votes_panel.haml | .poll-common-votes-panel__did-not-votes
%h3.lmo-card-subheading{translate: "poll_common_did_not_votes_panel.undecided", translate-values: "{count: poll.undecidedCount()}"}
%md-button{ng-if: "canShowUndecided()", ng-click: "showUndecided()", translate: "poll_common_votes_panel.show_undecided"}
.poll-common... | .poll-common-votes-panel__did-not-votes
%h3.lmo-card-subheading{translate: "poll_common_did_not_votes_panel.undecided", translate-values: "{count: poll.undecidedCount()}"}
%md-button{ng-if: "canShowUndecided()", ng-click: "showUndecided()", translate: "poll_common_votes_panel.show_undecided", aria-label: "pol... | Add aria labels to votes panel | Add aria labels to votes panel
| Haml | agpl-3.0 | piratas-ar/loomio,loomio/loomio,loomio/loomio,loomio/loomio,piratas-ar/loomio,piratas-ar/loomio,loomio/loomio,piratas-ar/loomio |
ebf73742a673aeb36ee3021fa280da234016ef09 | app/views/people/_show_activities.html.haml | app/views/people/_show_activities.html.haml | - @activities = resource.activities
- if @activities.empty?
= boot_alert(t('activities.alerts.empty'))
.activities.collection
- else
= render 'activities/list', :collection => resource.activities unless @activities.empty?
| - @activities = resource.activities
- if @activities.empty?
= boot_alert(t('activities.alerts.empty'))
.activities.collection
- else
= render 'activities/list', :collection => @activities unless @activities.empty?
| Use @activities instance variable in all usages in show_activities view. | Use @activities instance variable in all usages in show_activities view.
| Haml | mit | huerlisi/bookyt_projects,raskhadafi/bookyt_projects,raskhadafi/bookyt_projects,huerlisi/bookyt_projects,huerlisi/bookyt_projects |
a69c3d1ce243b6c667db82da1f6b92e5efacfcb2 | app/views/campaigns/manage_members.html.haml | app/views/campaigns/manage_members.html.haml | %h3 Users
%table.table
%tr
%th Campaign member?
%th Name
%th Email
%th Joined
%th
- users.each do |user|
%tr
%td
- if campaign.member?(user)
%span.glyphicon.glyphicon-ok
%td
= link_to user.name, user_path(user)
%td
= user.email
%td
... | %h3 Users
%table.table
%tr
%th Campaign member?
%th Name
%th Joined
%th
- users.each do |user|
%tr
%td
- if campaign.member?(user)
%span.glyphicon.glyphicon-ok
%td
= link_to user.name, user_path(user)
%td
= user.created_at.strftime('%d.%m.%Y')
... | Hide emails in manage members list | Hide emails in manage members list
| Haml | mit | fantasygame/campaigns,fantasygame/campaigns,fantasygame/campaigns |
6b52591335c796363d270d9359f0cbeac11c9193 | app/views/devise/registrations/new.html.haml | app/views/devise/registrations/new.html.haml | - content_for :title, 'Sign up'
%h1= yield :title
%p
Quickly fill in the information below, and we'll send you
a confirmation email. You will then be able to edit division descriptions and policies.
%br
= link_to 'Log in to change settings if you already signed up', account_settings_path
%p What are you wait... | - content_for :title, 'Sign up'
%h1= yield :title
%p
Quickly fill in the information below, and we'll send you
a confirmation email. You will then be able to edit division descriptions and policies.
%br
= link_to 'Log in to change settings if you already signed up', edit_user_registration_path
%p What are yo... | Fix broken link on user registration page | Fix broken link on user registration page
| Haml | agpl-3.0 | mysociety/publicwhip,mysociety/publicwhip,mysociety/publicwhip |
18337a44ccea694b67e805fca691470507169c8f | layouts/default.haml | layouts/default.haml | <!DOCTYPE HTML>
%html(lang="en")
%head
<meta charset="utf-8">
<link rel="stylesheet" href="/style.css">
<link href='http://fonts.googleapis.com/css?family=Scada' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Oranienbaum' rel='stylesheet' type='text/css'>
<scr... | <!DOCTYPE HTML>
%html(lang="en")
%head
<meta charset="utf-8">
<link rel="stylesheet" href="/style.css">
<link href='http://fonts.googleapis.com/css?family=Scada' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Oranienbaum' rel='stylesheet' type='text/css'>
<scr... | Add link to main page | Add link to main page
| Haml | apache-2.0 | chiphogg/chogg_name,chiphogg/chogg_name,chiphogg/chogg_name,chiphogg/chogg_name |
333c395ff4a3e6a2283cc25e3c12c24aecb0698e | app/views/admin/hooks/index.html.haml | app/views/admin/hooks/index.html.haml | %h3.page-title
System Hooks
%p.light
#{link_to "System hooks ", help_system_hooks_path, class: "vlink"} can be
used for binding events when GitLab creates a User or Project.
%hr
= form_for @hook, as: :hook, url: admin_hooks_path, html: { class: 'form-inline' } do |f|
-if @hook.errors.any?
.alert.alert-e... | %h3.page-title
System hooks
%p.light
#{link_to "System hooks ", help_system_hooks_path, class: "vlink"} can be
used for binding events when GitLab creates a User or Project.
%hr
= form_for @hook, as: :hook, url: admin_hooks_path, html: { class: 'form-inline' } do |f|
-if @hook.errors.any?
.alert.alert-e... | Fix broken UI for admin system hooks | Fix broken UI for admin system hooks
Signed-off-by: Dmitriy Zaporozhets <be23d75b156792e5acab51b196a2deb155d35d6a@gmail.com>
| Haml | mit | 8thcolor/rubyconfau2015-sadr,8thcolor/eurucamp2014-htdsadr,8thcolor/eurucamp2014-htdsadr,8thcolor/eurucamp2014-htdsadr,8thcolor/rubyconfau2015-sadr,8thcolor/rubyconfau2015-sadr |
1f0f7cf9f2a536e232f85ac69ec27f0ed086e47c | app/views/messages/_message.html.haml | app/views/messages/_message.html.haml | - scroll_class = (message == view_from) ? 'thread-view-from-here' : nil
%article.message{ id: dom_id(message), class: scroll_class }
.details
.author
%span.thumbnail
- if message.created_by.profile.picture
= image_tag message.created_by.profile.picture_thumbnail.url, alt: ""
= link_t... | - scroll_class = (message == view_from) ? 'thread-view-from-here' : nil
%article.message{ id: dom_id(message), class: scroll_class }
.details
.author
%span.thumbnail
- if message.created_by.profile.picture
= image_tag message.created_by.profile.picture_thumbnail.url, alt: ""
= link_t... | Make the time of a message in the thread a permalink so that you can link to a specific message easily. | Make the time of a message in the thread a permalink so that you can link to a specific message easily.
| Haml | mit | cyclestreets/cyclescape,cyclestreets/cyclescape,cyclestreets/cyclescape |
9de3370a8af6aa5ae7a2faa2dd7d28f8f4cb73ad | app/views/spree/admin/adjustments/_edit_form.html.haml | app/views/spree/admin/adjustments/_edit_form.html.haml | .row
.alpha.four.columns
= f.field_container :amount do
= f.label :amount, raw(t(:amount) + content_tag(:span, " *", :class => "required"))
= text_field :adjustment, :amount, :class => 'fullwidth'
= f.error_message_on :amount
.four.columns
= f.field_container :included_tax do
= f.la... | .row
.alpha.four.columns
= f.field_container :amount do
= f.label :amount, raw(t(:amount) + content_tag(:span, " *", :class => "required"))
= text_field :adjustment, :amount, :class => 'fullwidth'
= f.error_message_on :amount
.four.columns
= f.field_container :included_tax do
= f.la... | Fix precision in adjustment form display | Fix precision in adjustment form display
The tests here were looking for values with a format like "10.00" but the output had changed to "10.0"
| Haml | agpl-3.0 | mkllnk/openfoodnetwork,mkllnk/openfoodnetwork,lin-d-hop/openfoodnetwork,lin-d-hop/openfoodnetwork,Matt-Yorkley/openfoodnetwork,openfoodfoundation/openfoodnetwork,lin-d-hop/openfoodnetwork,Matt-Yorkley/openfoodnetwork,Matt-Yorkley/openfoodnetwork,lin-d-hop/openfoodnetwork,Matt-Yorkley/openfoodnetwork,openfoodfoundation/... |
f63047fc853e04da17b0f2ae535f40db067f5d86 | app/views/links/files/_form.html.haml | app/views/links/files/_form.html.haml | .tab-selector__target#file.is-inactive{ 'data-dough-tab-selector-target' => 'file' }
%h3.l-tab-panels__heading
= t('links.file.header')
= form_tag(site_links_files_path, method: 'get', remote: true) do
= label_tag(:link, t('links.current'))
= text_field_tag(:link, nil, data: {'dough-linkmanager-link-typ... | .tab-selector__target#file.is-inactive{ 'data-dough-tab-selector-target' => 'file' }
%h3.l-tab-panels__heading
= t('links.file.header')
= form_tag(site_links_files_path, method: 'get', remote: true) do
= label_tag(:link, t('links.current'))
= text_field_tag(:link, nil, data: {'dough-linkmanager-link-typ... | Sort files in link dialog | Sort files in link dialog
| Haml | mit | moneyadviceservice/cms,moneyadviceservice/cms,moneyadviceservice/cms,moneyadviceservice/cms |
39fa8585eaea2f325df9cdeffca76b0ea2cbc015 | app/views/menus/_projects_kefed_editor.haml | app/views/menus/_projects_kefed_editor.haml | #menu-title
%h1#content-title
#{@project.name} » Experimental Design
#menu-actions
= link_to("Projects", yogo_projects_path, :class => 'icon icon-dashboard')
|
= link_to("Dashboard", yogo_project_path(@project), :class => 'icon icon-projects') | #menu-title
%h1#content-title
#{@project.name} » Experimental Design
#menu-actions
= link_to("Back", yogo_projects_path, :class => 'icon icon-back')
|
= link_to("Projects", yogo_projects_path, :class => 'icon icon-dashboard')
|
= link_to("Dashboard", yogo_project_path(@project), :class => 'icon i... | Add more buttons to the kefed editor menu | Add more buttons to the kefed editor menu | Haml | mit | yogo/crux,yogo/crux |
d974888a7072ddab1af89876341d6a75927d90dc | app/views/blobs/show.html.haml | app/views/blobs/show.html.haml | - if textual?(@blob) && !too_big_to_render?(@blob.size)
- help_box(:center, :error, :style => "display:none", :id => "long-file") do
%p
This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we're showing it without any
pretty colors.
= succeed "." do... | %a.blob_marker
- if textual?(@blob) && !too_big_to_render?(@blob.size)
- help_box(:center, :error, :style => "display:none", :id => "long-file") do
%p
This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we're showing it without any
pretty colors.
=... | Add blob marker for testing purposes | Add blob marker for testing purposes
| Haml | agpl-3.0 | water/mainline,water/mainline,water/mainline |
5c10ade318f4a012e79f60160d12221a82a212c0 | app/views/events/new.html.haml | app/views/events/new.html.haml | - now = Time.zone.now
%div.page-heder
%h1 イベント作成
= form_for(@event, class: 'form-horizotal', role: 'form') do |f|
- if @event.errors.any?
%div{ class: 'alert alert-danger' }
| - now = Time.zone.now
%div.page-header
%h1 イベント作成
= form_for(@event, class: 'form-horizotal', role: 'form') do |f|
- if @event.errors.any?
%div{ class: 'alert alert-danger' }
%ul
- @event.errors.full_messages.each do |msg|
%li =msg
%div.form-group
= f.label :name
= f.text_fie... | Add form name and Fix typo page-header | Add form name and Fix typo page-header
| Haml | mit | koudaiii/event-site,koudaiii/event-site,koudaiii/event-site |
94b5c370ef9120257a095d0470c5e221a5170db1 | app/views/courses/_row.html.haml | app/views/courses/_row.html.haml | %tr{:class => "#{user ? date_highlight_class(course) : ''}", "data-link" => "#{course_slug_path(course.slug)}"}
%td.title{:role => "button", :tabindex => "0"}
= course.title
%span.creation-date.hidden
= course.created_at
%td.revisions
= course.recent_revision_count
%td
%span.characters-human... | %tr{:class => "#{user ? date_highlight_class(course) : ''}", "data-link" => "#{course_slug_path(course.slug)}"}
%td.title{:role => "button", :tabindex => "0"}
= course.title
%span.creation-date.hidden
= course.created_at
%td.revisions
= course.recent_revision_count
%td
%span.characters-human... | Remove unnecessary code in courses/_row partial | Remove unnecessary code in courses/_row partial
Since we forked this code, this is not needed in here. It's present in the new forked version campaigns/_course_row.
| Haml | mit | KarmaHater/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard,sejalkhatri/WikiEduDashboard,sejalkhatri/WikiEduDashboard,alpha721/WikiEduDashboard,alpha721/WikiEduDashboard,KarmaHater/WikiEduDashboard,majakomel/WikiEduDashboard,majakomel/WikiEduDashboard,majakomel/WikiEduDashboard,majakomel/WikiEduDashboard,WikiE... |
4aabaaa0517fc384da43b1ad522bc9fd28bb74c1 | app/views/did_you_know_alert_mailer/email.html.haml | app/views/did_you_know_alert_mailer/email.html.haml | %link{rel: 'stylesheet', href:'/mailer.css'}
%p.paragraph
Hello,
%p.paragraph
An article that is being worked on as part of your course
%a.link{href: @alert.article.url}= @alert.article.title
, has received a Did You Know nomination.See the
%a.link{href: "https://upload.wikimedia.org/wikipedia/comm... | %link{rel: 'stylesheet', href:'/mailer.css'}
%p.paragraph
Hello,
%p.paragraph
An article that is being worked on as part of your course,
= succeed ',' do
%a.link{href: @alert.article.url}= @alert.article.title
has received a Did You Know nomination. See the
%a.link{href: "https://upload.wikime... | Fix layout for DYK alert | Fix layout for DYK alert
| Haml | mit | WikiEducationFoundation/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard |
84951cc9f576e74f704432901b408dc1cba8fc07 | app/views/welcome/index.html.haml | app/views/welcome/index.html.haml | %div.bs-doc-header
%div.jumbotron
%div.container
%h1 Advent Calendar 2014
%div.container
%table.table.table-bordered.advent_calendar_calendar
%thead
%tr
%th Sun
%th Mon
%th Tue
%th Wed
%th Thu
%th Fri
%th Sat
%tbody
- @calendar_d... | %div.bs-doc-header
%div.jumbotron
%div.container
%h1 Advent Calendar 2014
%div.container
%table.table.table-bordered.advent_calendar_calendar
%thead
%tr
%th 日
%th 月
%th 火
%th 水
%th 木
%th 金
%th 土
%tbody
- @calendar_data.each do |w... | Fix day of the week name to Japanese | Fix day of the week name to Japanese
| Haml | mit | nanonanomachine/radvent,nanonanomachine/radvent,nanonanomachine/radvent |
842fb26ca5a6b530f9453c5ce700e9f997315298 | templates/rss_post.haml | templates/rss_post.haml | %h4
%a(href="#{post['links']}")= post['title']
%span= "by #{post['author']}"
| %h4
%a(href="#{post['links'][0]}")= post['title']
%span= "by #{post['author']}"
| Debug rss link to article | Debug rss link to article
| Haml | mit | shakaman/DeliciousLetter |
86c6370d108b8e026c44d260c40815f393f3e51f | source/includes/comparison_table.html.haml | source/includes/comparison_table.html.haml | .panel.panel-success
.panel-heading
%h2.panel-title
= comparison_block.title
%table.table.compare-table
%colgroup
%col{:width => "52%"}
%col{:width => "24%"}
%col{:width => "24%"}
%thead
%tr
%th.blank-header
%th.ce-col.text-center
%img{ src: "#{com... | .panel.panel-success
.panel-heading
%h2.panel-title
= comparison_block.title
%table.table.compare-table
%colgroup
%col{:width => "52%"}
%col{:width => "24%"}
%col{:width => "24%"}
%thead
%tr
%th.blank-header
%th.ce-col.text-center
%img{ src: "#{com... | Use proper icons for true/false. | Use proper icons for true/false.
| Haml | mit | damianhakert/damianhakert.github.io |
e98c1fa4fedc65f6c2b95e29b745be6a7ce2427b | app/views/wiki_pages/revision.html.haml | app/views/wiki_pages/revision.html.haml | %main#contents(role="main")
- if @version.higher_item || @version.lower_item
%nav
%ul
- if @version.higher_item
%li= link_to "Précédente révision", revision_wiki_page_path(@wiki_page.friendly_id, @version.higher_item.version)
- if @version.lower_item
%li= link_to "Révisio... | %main#contents(role="main")
- if !@wiki_page.visible?
.alert
%strong Cette page a été supprimée.
- if @version.higher_item || @version.lower_item
%nav
%ul
- if @version.higher_item
%li= link_to "Précédente révision", revision_wiki_page_path(@wiki_page.friendly_id, @version.hig... | Add a warning when displaying a revision for a deleted wiki page | Add a warning when displaying a revision for a deleted wiki page
| Haml | agpl-3.0 | linuxfrorg/linuxfr.org,linuxfrorg/linuxfr.org,linuxfrorg/linuxfr.org,linuxfrorg/linuxfr.org |
419bb9d58afeb4ce573ff952ccaecb3a5651f3eb | app/views/artworks/index.html.haml | app/views/artworks/index.html.haml | %h1 Pocket Museum
.featured-albums.panel
%h3 Featured Artworks
%p.loading
%span.text Loading featured artworks
%span.loader
%ul#featured{ data: { 'user-id' => params[:user_id] } }
%table.table
%tr
%th Title
%th Artist
%th Date
%th Description
%th Image
%th
%th
%th
... | %h1 Pocket Museum
.featured-artworks.panel
%h3 Featured Artworks
%p.loading
%span.text Loading featured artworks
%span.loader
%ul#featured{ data: { 'user-id' => params[:user_id] } }
%table.table
%tr
%th Title
%th Artist
%th Date
%th Image
%th
%th
%th
%th
- @artwor... | Remove artwork description field from index page | Remove artwork description field from index page
| Haml | mit | lporte/pocket-museum,lporte/pocket-museum,lporte/pocket-museum |
6ba8eb8f080bc4d1358a58d337d62991faa5edb5 | app/views/passwords/show.html.haml | app/views/passwords/show.html.haml | = content_for :title do
%h2
= link_to 'Apps', applications_path
%i.icon-angle-right
= link_to @application.title, @application
%i.icon-angle-right
= @password.title
%p.cgray
= @password.description
.panel.panel-default
.panel-heading
%h5 Your password:
.panel-body
= hidden_field_ta... | = content_for :title do
%h2
= link_to 'Apps', applications_path
%i.icon-angle-right
= link_to @application.title, @application
%i.icon-angle-right
= @password.title
%p.cgray
= @password.description
.panel.panel-default
.panel-heading
%h5
Your password:
.pull-right
= l... | Use password field when type encryption key | Use password field when type encryption key
Signed-off-by: Dmitriy Zaporozhets <be23d75b156792e5acab51b196a2deb155d35d6a@gmail.com>
| Haml | mit | randx/passty,randx/passty |
581a8223263deab02b4018267ed63ef334eee97f | app/views/merge_requests/_commits.html.haml | app/views/merge_requests/_commits.html.haml | - if @commits.present?
.ui-box
%h5 Commits (#{@commits.count})
.merge-request-commits
- if @commits.count > 8
%ul.first_mr_commits.unstyled
- @commits.first(8).each do |commit|
= render "commits/commit", :commit => commit
%li.bottom
8 of #{@commits.cou... | - unless @commits.empty?
.ui-box
%h5 Commits (#{@commits.count})
.merge-request-commits
- if @commits.count > 8
%ul.first_mr_commits.unstyled
- @commits.first(8).each do |commit|
= render "commits/commit", :commit => commit
%li.bottom
8 of #{@commits.c... | Revert "Invert "unless .empty?" to "if .present?"; unless-else is evil." | Revert "Invert "unless .empty?" to "if .present?"; unless-else is evil."
This reverts commit 7484bcfff7fc8e132d94701b3af47f521ce117c5.
| Haml | mit | fgbreel/gitlabhq,jairzh/gitlabhq-sfdc,it33/gitlabhq,pjknkda/gitlabhq,OlegGirko/gitlab-ce,screenpages/gitlabhq,daiyu/gitlab-zh,sekcheong/gitlabhq,martinma4/gitlabhq,ibiart/gitlabhq,NARKOZ/gitlabhq,yonglehou/gitlabhq,folpindo/gitlabhq,gorgee/gitlabhq,fgbreel/gitlabhq,larryli/gitlabhq,ordiychen/gitlabhq,darkrasid/gitlabhq... |
93cb75e77b02fdd1df6db7ca9f6f645a802a9972 | app/views/tags/index.html.haml | app/views/tags/index.html.haml | %div
%h2 Tags
= render :partial => 'tags/tag', :collection => tags_objects()
| %div
.main.panel.section
.header
%h2.icon.tags Tags
.body
.tag-cloud
= render :partial => 'tags/tag', :collection => tags_objects()
.footer
| Bring over BBYIDX's Tag index template | Bring over BBYIDX's Tag index template
| Haml | agpl-3.0 | robinsonj/P4IdeaX,robinsonj/P4IdeaX |
ac8884fbce69df9e5a1b54a1c5386c87668ba22c | app/views/phone_numbers/_form.html.haml | app/views/phone_numbers/_form.html.haml | %li.phone_number.nested-form-item
%label= item.select :phone_number_type, ['Tel. privat', 'Tel. geschäft', 'Handy', 'Fax', 'E-Mail']
= item.text_field :number, :size => 12, :autocomplete => 'off'
%div{:style => 'display: inline-block'}= link_to t_action(:delete), '#', :class => 'icon-delete-text delete-nested-for... | %li.phone_number.nested-form-item
%label= item.select :phone_number_type, ['Tel. geschäft', 'Tel. privat', 'Handy', 'Fax', 'E-Mail']
= item.text_field :number, :size => 12, :autocomplete => 'off'
%div{:style => 'display: inline-block'}= link_to t_action(:delete), '#', :class => 'icon-delete-text delete-nested-for... | Switch order of Tel. fields in phone_number_type select. | Switch order of Tel. fields in phone_number_type select.
| Haml | agpl-3.0 | silvermind/bookyt,huerlisi/bookyt,gaapt/bookyt,hauledev/bookyt,gaapt/bookyt,gaapt/bookyt,hauledev/bookyt,silvermind/bookyt,huerlisi/bookyt,wtag/bookyt,wtag/bookyt,huerlisi/bookyt,hauledev/bookyt,xuewenfei/bookyt,wtag/bookyt,hauledev/bookyt,gaapt/bookyt,xuewenfei/bookyt,silvermind/bookyt,silvermind/bookyt,xuewenfei/book... |
6a966c46ad77edea8bd37f9fc520e6219a97588d | app/views/routes/show.haml | app/views/routes/show.haml | - content_for :javascript do
!= map_javascript_include_tags
#map-col
#map
:javascript
var areaStops = #{location_stops_js([@route])}
jQuery(document).ready(function(){
area_init();
});
= render :partial => 'shared/respond', :locals => { :instance => @route }
.route
%h3.name= @route.name
.d... | - content_for :javascript do
!= map_javascript_include_tags
#map-col
#map
:javascript
var areaStops = #{location_stops_js([@route])}
jQuery(document).ready(function(){
area_init();
});
.stops
Stops:
- @route.stops.each do |stop|
%li.active-stop{:id => "#{stop.id}"}= link_to(sto... | Stop list with link to map | Stop list with link to map
| Haml | agpl-3.0 | mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport |
f8922bc0844c736991cb3d0f50af0e54ec16f469 | themes/base/views/roy_tomeij.haml | themes/base/views/roy_tomeij.haml | %section.author-bio
%h2
%span The Author,
Roy Tomeij
%img.author-image{:src => "https://twimg0-a.akamaihd.net/profile_images/1339001034/roy_reasonably_small.jpg"}
:markdown
[Roy Tomeij](http://roytomeij.com/) is co-founder of [80beans](http://www.80beans.com/) and [SliceCraft](http://www.slicecraft.nl... | %section.author-bio
%h2
%span The Author,
Roy Tomeij
%img.author-image{:src => "https://twimg0-a.akamaihd.net/profile_images/1796230903/roy_square_reasonably_small.jpg"}
:markdown
[Roy Tomeij](http://roytomeij.com/) is co-founder of [80beans](http://www.80beans.com/) and [SliceCraft](http://www.slicec... | Update location for Roy's avatar | Update location for Roy's avatar
| Haml | mit | goschevski/thesassway.com,goschevski/thesassway.com,goschevski/thesassway.com |
9e7289d5c2b0de5a21889ee986effc8ce0613dcd | app/views/documentation/api_examples/_ruby.html.haml | app/views/documentation/api_examples/_ruby.html.haml | %p To your <code>Gemfile</code> add
%pre
:preserve
gem 'rest-client'
gem 'json'
%p
Then run <code>bundle install</code>. Use the following code snippet to get data
from the API.
%pre
:preserve
# Get data from the morph.io api
require 'rest-client'
require 'json'
# We're always asking... | %p To your <code>Gemfile</code> add
%pre
:preserve
gem 'rest-client'
gem 'json'
%p
Then run <code>bundle install</code>. Use the following code snippet to get data
from the API.
- block = capture do
%pre
:preserve
# Get data from the morph.io api
require 'rest-client'
require 'j... | Substitute values in example code which makes it easier to read | Substitute values in example code which makes it easier to read
| Haml | agpl-3.0 | otherchirps/morph,otherchirps/morph,openaustralia/morph,openaustralia/morph,openaustralia/morph,otherchirps/morph,otherchirps/morph,openaustralia/morph,otherchirps/morph,openaustralia/morph,otherchirps/morph,openaustralia/morph,openaustralia/morph,otherchirps/morph |
a3891031c9123677a93f4178968a09bfd6f30636 | app/views/nodes/_node_nearby.html.haml | app/views/nodes/_node_nearby.html.haml | %section.node-nearby-locations-from-partners
%h2=t('.places_nearby')
%section.node-nearby-locations-from-partners-list
:javascript
window.onAccessibilityCloudLoaded = function (AccessibilityCloud) {
var containerElement = document.querySelector('section.node-nearby-locations-from-partners');
var element ... | %section.node-nearby-locations-from-partners
%h2=t('.places_nearby')
%section.node-nearby-locations-from-partners-list
:javascript
window.onAccessibilityCloudLoaded = function (AccessibilityCloud) {
var containerElement = document.querySelector('section.node-nearby-locations-from-partners');
var element ... | Check hash integrity for accessibility.cloud JS | Check hash integrity for accessibility.cloud JS
| Haml | agpl-3.0 | sozialhelden/wheelmap,sozialhelden/wheelmap,sozialhelden/wheelmap,sozialhelden/wheelmap,sozialhelden/wheelmap |
37cfd36a887e44cea197705bea4ab7d98fc1ec34 | app/views/shared/_newsletter.html.haml | app/views/shared/_newsletter.html.haml | %p
CoderDojo コミュニティの最新情報をキャッチアップしてみませんか?
CoderDojo Japan が最近の活動を毎月メールで配信しています。
過去の配信は
%a{:href => 'http://news.coderdojo.jp/', :target => '_blank'}コチラ
から ;)
%div#mc_embed_signup
%form#mc-embedded-subscribe-form{:class=> "validate", :action =>"https://coderdojo.us17.list-manage.com/subscribe/post?u=39a5824e... | %p
CoderDojo コミュニティの最新情報をキャッチアップしてみませんか?
CoderDojo Japan が最近の活動をメールで毎月配信しています。
過去の配信は
%a{:href => 'http://news.coderdojo.jp/', :target => '_blank'}コチラ
から ;)
%div#mc_embed_signup
%form#mc-embedded-subscribe-form{:class=> "validate", :action =>"https://coderdojo.us17.list-manage.com/subscribe/post?u=39a5824e... | Tweak description on News Letter | Tweak description on News Letter
| Haml | mit | yasslab/coderdojo.jp,coderdojo-japan/coderdojo.jp,coderdojo-japan/coderdojo.jp,coderdojo-japan/coderdojo.jp,yasslab/coderdojo.jp,coderdojo-japan/coderdojo.jp,yasslab/coderdojo.jp |
5be60254e9258e1fd66bc697f1ff9b1c9df1c920 | app/views/booking_templates/_form.html.haml | app/views/booking_templates/_form.html.haml | = semantic_form_for @booking_template do |f|
= f.semantic_errors
= f.inputs do
= f.input :amount, :input_html => {"data-autofocus" => true, :size => 12, :style => 'text-align: right'}
= f.input :title
= f.input :credit_account
= f.input :debit_account
= f.input :comments, :input_html => {:rows =... | = semantic_form_for @booking_template do |f|
= f.semantic_errors
= f.inputs do
= f.input :amount, :input_html => {"data-autofocus" => true, :size => 12, :style => 'text-align: right'}
= f.input :code
= f.input :title
= f.input :credit_account
= f.input :debit_account
= f.input :comments, :in... | Add code field to booking template form. | Add code field to booking template form.
| Haml | agpl-3.0 | gaapt/bookyt,silvermind/bookyt,silvermind/bookyt,gaapt/bookyt,hauledev/bookyt,huerlisi/bookyt,xuewenfei/bookyt,xuewenfei/bookyt,hauledev/bookyt,hauledev/bookyt,wtag/bookyt,huerlisi/bookyt,silvermind/bookyt,xuewenfei/bookyt,wtag/bookyt,wtag/bookyt,silvermind/bookyt,hauledev/bookyt,huerlisi/bookyt,gaapt/bookyt,gaapt/book... |
06c4e7bf6f273070d05c1a445fcf06747eb2c3cb | app/views/layouts/_analytics.html.haml | app/views/layouts/_analytics.html.haml | - exists = Site.table_exists?
- not_blank = current_site.respond_to?(:analytics_code) and !current_site.analytics_code.blank?
- if exists and not_blank
:javascript
var _gaq = _gaq || [];
_gaq.push(['_setAccount', '#{current_site.analytics_code}']);
_gaq.push(['_trackPageview']);
(function() {
va... | - if Rails.env.production?
:javascript
var _paq = _paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//stats.ufrgs.br/piwik/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', 62]);
var d=document, g=d.createEle... | Replace Google Analytics snippet by Piwik's snippet for UFRGS | Replace Google Analytics snippet by Piwik's snippet for UFRGS
| Haml | agpl-3.0 | mconf-ufrgs/mconf-web,mconf-ufrgs/mconf-web,mconf-ufrgs/mconf-web,mconf-ufrgs/mconf-web |
1d2a6b7882d13428fac8cac2c9e4b8f2c771863b | app/views/articles/index.html.haml | app/views/articles/index.html.haml | %main.row
.cell.well.well--l
- if user_signed_in?
.g
%main.g-b.g-b--2of3
.split.search-bar.mbm
.split-item
.split-cell.split-cell--fluid.prm
= form_tag articles_path, method: :get, remote: true do
= search_field_tag :search, para... | %main.row
.cell.well.well--l
- if user_signed_in?
.g
%main.g-b.g-b--2of3
.split.search-bar.mbm
.form.form--inline.split-item
.split-cell.split-cell--fluid.prm
= form_tag articles_path, method: :get, remote: true do
= search_field... | Apply inline Form styles to search bar and button | Apply inline Form styles to search bar and button
| Haml | mit | cmckni3/orientation,LogicalBricks/orientation,hashrocket/orientation,smashingboxes/orientation,orientation/orientation,Scripted/orientation,friism/orientation,codeschool/orientation,Scripted/orientation,cmckni3/orientation,LogicalBricks/orientation,Scripted/orientation,splicers/orientation,cmckni3/orientation,jefmathio... |
4921cf7a9302556193e3992b7d9a1efb64f88393 | source/partials/_universal-footer.html.haml | source/partials/_universal-footer.html.haml | %footer.universal-footer
.footer-content
.footer-links-left
%ul
%li= link_to "Ministries", ministries_smart_path(current_page.path),
class: "scroll scroll-on-page-link"
%li= link_to "Our Team", "/team"
%li= link_to "Meet Jesus", "/jesus"
%li= link_to "Doctrine", "/d... | %footer.universal-footer
.footer-content
.footer-links-left
%ul
%li= link_to "Ministries", ministries_smart_path(current_page.path),
class: "scroll scroll-on-page-link"
%li= link_to "Our Team", "/team"
%li= link_to "Meet Jesus", "/jesus"
%li= link_to "Blog", "/blog"... | Add blog link to footer. | Add blog link to footer.
| Haml | mit | euroteamoutreach/euroteamoutreach.org,euroteamoutreach/euroteamoutreach.org,euroteamoutreach/euroteamoutreach.org,euroteamoutreach/euroteamoutreach.org |
63e4fda1fe8b7f6ef2d64df80c3a23fd7da5cbfe | app/views/help/_help.haml | app/views/help/_help.haml | .help
-if CMS_CONFIG["ALLOW_HELP_EDIT"]
%a.widgetbtn.fltrt{:'data-toggle' => 'collapse', :href => '#helpedit'}
%i.grcicon-edit-grey
-if @help && !@help.content.blank?
-content_for :modal_title do
-if @help.title.present?
=@help.title
-else
=@help_slug.humanize
Help
... | .help
-if CMS_CONFIG["ALLOW_HELP_EDIT"]
%a.widgetbtn.fltrt{:'data-toggle' => 'collapse', :href => '#helpedit'}
%i.grcicon-edit-grey
-if @help && !@help.content.blank?
-content_for :modal_title do
-if @help.title.present?
=@help.title
-else
=@help_slug.humanize
Help
... | Fix initial help edit to display changes correctly | Fix initial help edit to display changes correctly [story:43457055]
| Haml | apache-2.0 | thamizarasu/compliance-management,Txlonghorn101/compliance-management,nitin29687/compliance-management,Txlonghorn101/compliance-management,nitin29687/compliance-management,Alwnikrotikz/compliance-management,Cayce2514/compliance-management,jigneshphipl/compliance-management,Alwnikrotikz/compliance-management,reciprocity... |
2e0b938a6481de51e5d7355c1c0c49be03acf98c | app/views/administer/entities/index.html.haml | app/views/administer/entities/index.html.haml | %ul.actions
%li= link_to('back', administer_dashboard_index_path)
%li= link_to("New #{model_class.model_name.human}", new_administer_entity_path(:model_name => model_class.model_name))
%h1= model_class.model_name.human.pluralize
%table.items_list
%thead
%tr
- model_class.column_names.each do |column_name|... | %ul.actions
%li= link_to('back', administer_dashboard_index_path)
%li= link_to("New #{model_class.model_name.human}", new_administer_entity_path(:model_name => model_class.model_name))
%h1= model_class.model_name.human.pluralize
%table.items_list
%thead
%tr
- model_class.column_names.each do |column_name|... | Fix haml indenting in entities/index view | Fix haml indenting in entities/index view
| Haml | mit | piotrj/administer,piotrj/administer |
a1638e9c03ca68a59d36a0be3a28207d850432ad | views/_titles_pane.haml | views/_titles_pane.haml | %table.char
%tbody
%tr.colnames
%td Name
- if @character.current_title && @character.titles
- TitleHelper::sorted_titles(@character.titles).each do |title|
%tr
%td
- if title == TitleHelper::get_title_name(@character.current_title)
%span.current_title= t... | %table.char
%tbody
-unless @character.titles.nil?
%tr
%td.specialized= "Title count: #{@character.titles.length}"
%tr.colnames
%td Name
- if @character.current_title && @character.titles
- TitleHelper::sorted_titles(@character.titles).each do |title|
%tr
%td
... | Add title count row to titles pane | Add title count row to titles pane
| Haml | mit | amoeba/treestats.net,amoeba/treestats.net,amoeba/treestats.net |
6dd49259666125b82d3409e05c61f9df8b55dcd8 | app/views/users/new.html.haml | app/views/users/new.html.haml | .landing-container
:javascript
if (Portal.currentUser.isAnonymous) {
PortalPages.renderSignupModal({});
} else {
window.location.href = "/";
}
| .landing-container
:javascript
if (Portal.currentUser.isAnonymous) {
PortalPages.renderSignupModal({ oauthProviders: Portal.oauthProviders });
} else {
window.location.href = "/";
}
| Add oauth providers to new user signup view. | Add oauth providers to new user signup view.
| Haml | mit | concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse |
f518ed969166e45f1a1dd4dfe85a2368f72ed664 | app/views/component/search/_county.html.haml | app/views/component/search/_county.html.haml | = field_set_tag nil, id: 'service_area-name-options', class: 'input-search-filter' do
= label_tag 'service_area', t('labels.select_county')
= select_tag :service_area, options_for_select([['All', ''], ['Adams'], ['Asotin'], ['Benton'], ['Chelan'], ['Clallam'], ['Clark'], ['Colombia'], ['Cowlitz'], ['Douglas'], ['Fe... | = field_set_tag nil, id: 'service_area-name-options', class: 'input-search-filter' do
= label_tag 'service_area', t('labels.select_county')
= select_tag :service_area, options_for_select([['All', ''], ['Adams'], ['Asotin'], ['Benton'], ['Chelan'], ['Clallam'], ['Clark'], ['Colombia'], ['Cowlitz'], ['Douglas'], ['Fe... | Fix Wahkiakum County Spelling in County Selector | Fix Wahkiakum County Spelling in County Selector
| Haml | bsd-3-clause | cderenburger/win211-ohana-web-search,cderenburger/win211-ohana-web-search,cderenburger/win211-ohana-web-search,cderenburger/win211-ohana-web-search |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.