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
764201cb81a36b96d617de10b749987bbefb0d96
app/views/layouts/_header.html.haml
app/views/layouts/_header.html.haml
#masthead.header %div %h1#logo= link_to LONG_SITE_NAME, root_path #nav-primary -cache('primary_nav') do %ul.nav.site.alt.title-ideas %li= link_to "About", home_about_path %ul.nav.site %li= link_to "Ideas", ideas_path %li= link_to "Tags", tags_path ...
#masthead.header %div %h1#logo= link_to LONG_SITE_NAME, root_path #nav-primary -cache('primary_nav') do %ul.nav.site.alt.title-ideas %li= link_to "About", home_about_path %ul.nav.site %li= link_to "Ideas", ideas_path %li= link_to "Tags", tags_path ...
Add header layout dashboard link for admins
Add header layout dashboard link for admins
Haml
agpl-3.0
robinsonj/P4IdeaX,robinsonj/P4IdeaX
cc7de24975a360691590dca15cb0214e2a49a4da
app/views/shared/_header.html.haml
app/views/shared/_header.html.haml
/ Sidebar Menu .ui.vertical.sidebar.menu %a.active.item{href: root_path} Home %a.item{href: new_user_session_path} Login %a.item{href: new_user_registration_path} Signup / Page Contents .pusher .ui.vertical.center.aligned.segment .ui.container .ui.large.main.menu %a.toc.item %i.sideb...
/ Sidebar Menu .ui.vertical.sidebar.menu %a.active.item{href: root_path} Home %a.item{href: new_user_session_path} Login %a.item{href: new_user_registration_path} Signup / Page Contents .pusher .ui.vertical.center.aligned.segment .ui.container .ui.large.main.menu %a.toc.item %i.sideb...
Add a conditional logout link in the header
Add a conditional logout link in the header
Haml
bsd-3-clause
amingilani/starter-web-app,amingilani/starter-web-app,amingilani/starter-web-app,payloadtech/payload,payloadtech/payload,payloadtech/payload
747d965557d66199780d985faf256b28acd1e667
app/views/lockfiles/show.haml
app/views/lockfiles/show.haml
%section %h1 Show lockfile check results %p Checked = l @lockfile.created_at, format: :short · = link_to 'Show content', '#', data: { toggle: 'modal', target: '#lockfile-content-modal' } %section = render 'compats/table', gemmies: @lockfile.gemmies %section =# render 'email_notifi...
%section %h1 Show lockfile check results %p Checked = l @lockfile.created_at, format: :short · = link_to 'Show content', '#', data: { toggle: 'modal', target: '#lockfile-content-modal' } %section = render 'compats/table', gemmies: @lockfile.gemmies %section = render 'email_notific...
Revert "hide email notification form for now"
Revert "hide email notification form for now" This reverts commit 0bc206c3c273ff135f624a91d8604e228687b0e5.
Haml
mit
rubyperu/ready4rails,rubyperu/ready4rails,rubyperu/ready4rails
0c60baae42ba1989802e4b20ce4e2dc20822a560
app/views/advocates/claims/index.html.haml
app/views/advocates/claims/index.html.haml
.grid-row .column-three-quarter %h1.page-title - if current_user.persona.admin? = t('.all_claims') - else = t('.your_claims') #summary = render partial: 'financial_summary', locals: { financial_summary: @financial_summary } .column-quarter = link_to t('link.add_claim'),...
.grid-row .column-two-thirds %h1.page-title - if current_user.persona.admin? = t('.all_claims') - else = t('.your_claims') #summary = render partial: 'financial_summary', locals: { financial_summary: @financial_summary } .column-third = link_to t('link.add_claim'), new_...
Use 'third' grid column for start/import claim rather than quarter
Use 'third' grid column for start/import claim rather than quarter
Haml
mit
ministryofjustice/advocate-defence-payments,ministryofjustice/advocate-defence-payments,ministryofjustice/advocate-defence-payments,ministryofjustice/advocate-defence-payments
0f5353037c3dbcfe85e4c84f3c21274ee9adab1f
app/views/text_components/_create_modal.html.haml
app/views/text_components/_create_modal.html.haml
#modalTriggerText.modal .modal-dialog .modal-content .modal-header %h4.modal-title New Text Component %button.close{"data-dismiss" => "modal", :type => "button"} %span × .modal-body %ul.nav.nav-justified.mb-4 %li.nav-item %a.btn.btn-secondary.ac...
#modalTriggerText.modal .modal-dialog .modal-content .modal-header %h4.modal-title New Text Component %button.close{"data-dismiss" => "modal", :type => "button"} %span × .modal-body %ul.nav.nav-justified.mb-4 %li.nav-item %a.btn.btn-secondary.ac...
Create new tc with existing trigger by default
Create new tc with existing trigger by default
Haml
mit
roschaefer/story.board,roschaefer/story.board,roschaefer/story.board
0c18f7786835cac744ca238173cdddd823893b4e
datasets/_wizards/area_data/form.html.haml
datasets/_wizards/area_data/form.html.haml
%h3{style:"color: #00c; border-bottom: 3px solid #00c"} Area Data %br .clearfix %label CO2 Price .input= number_field(:co2_price, :type => 'text') .clearfix %label CO2 Free .input= number_field(:co2_percentage_free, :type => 'text') %h3 Area Data Debugger %code = Current.gql.tap{|g| g.prepare }.future_gr...
%h3{style:"color: #00c; border-bottom: 3px solid #00c"} Area Data %br .clearfix %label CO2 Price .input= number_field(:co2_price, :type => 'text') .clearfix %label CO2 Free .input= number_field(:co2_percentage_free, :type => 'text') .clearfix %label Mark test .input= number_field(100) %h3 Area Data Debu...
Test on wizard form area data
Test on wizard form area data
Haml
mit
quintel/etsource
644f04eda6236cd262bfff63e736dffb41edca64
app/views/portal/clazzes/_clazz_student_report_learner_list.html.haml
app/views/portal/clazzes/_clazz_student_report_learner_list.html.haml
%table.student_list %tr %th %div.progressbar_container   %tr %th %div.progressbar_container ACTIVITY - students.each do |student| - student_name = student.user.last_name + ", " + student.user.first_name %tr %td.student_name{:title=>"#{student_name}"} ...
%table.student_list %tr %th{:style=>"border-bottom:solid 1px #F9EEC1"} %div.progressbar_container   %tr %th{:style=>"border-top:solid 1px #F9EEC1"} %div.progressbar_container ACTIVITY - students.each do |student| - student_name = student.user.last_name + ", " + studen...
Fix table header in Full Status
Fix table header in Full Status - Fix table header in Full Status page
Haml
mit
concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse
93de264d801a545caf85eece75b716db2f5d370c
app/views/coursewareable/home/_sidebar.html.haml
app/views/coursewareable/home/_sidebar.html.haml
.four.columns.offset-by-one .row.classrooms-sidebar %h5 = _('Your Classrooms') - if can? :create, current_user.created_classrooms.build = link_to('Start a Classroom', start_classroom_path, :class => 'tiny radius button') %hr %ul - current_user.created_classrooms.each do |classroo...
.four.columns.offset-by-one .row.classrooms-sidebar %h5 = _('Your Classrooms') - if can? :create, current_user.created_classrooms.build = link_to('Start a Classroom', start_classroom_path, :class => 'tiny radius button') %hr %ul - current_user.classrooms.each do |classroom| ...
Fix home dashboard sidebar classrooms list.
Fix home dashboard sidebar classrooms list.
Haml
mit
Courseware/coursewa.re,Courseware/coursewa.re
ff22a70de828f3bf4b93722c93c842d1cecb6cf9
app/views/layouts/rails/add_ons/application.haml
app/views/layouts/rails/add_ons/application.haml
!!! %html{:lang => "en"} %head = csrf_meta_tags / Required meta tags %meta{:charset => "utf-8"}/ %meta{:content => "width=device-width, initial-scale=1, shrink-to-fit=no", :name => "viewport"}/ / Bootstrap CSS %link{:crossorigin => "anonymous", :href => "https://maxcdn.bootstrapcdn.com/bootst...
!!! %html{:lang => "en"} %head = csrf_meta_tags / Required meta tags %meta{:charset => "utf-8"}/ %meta{:content => "width=device-width, initial-scale=1, shrink-to-fit=no", :name => "viewport"}/ / Bootstrap CSS %link{:crossorigin => "anonymous", :href => "https://maxcdn.bootstrapcdn.com/bootst...
Add meta tag to store widget remote rendering endpoint for javascript usage.
Add meta tag to store widget remote rendering endpoint for javascript usage.
Haml
mit
robotex82/rails-add_ons,robotex82/rails-add_ons,robotex82/rails-add_ons
bcaf4de1d61cc29fda93522c0ea42d64935a1ce9
app/views/admin/fact_check_requests/edit.html.haml
app/views/admin/fact_check_requests/edit.html.haml
.policy %h1.title= @edition.title %div.body = @edition.body.split("\n\n").collect{|paragraph| "<p>#{paragraph}</p>" }.join.html_safe %p.written_by Written by %span.author= @edition.author.name %div = form_for([:admin, @edition, @fact_check_request]) do |fact_check_form| = fact_check_form.label ...
.explanation %p You've been asked to review this policy for factual accuracy. Please read it, and then provide any comments in the form below .policy %h1.title= @edition.title %div.body = @edition.body.split("\n\n").collect{|paragraph| "<p>#{paragraph}</p>" }.join.html_safe %p.written_by Written by ...
Add a bit of explanation.
Add a bit of explanation. This can easily be expanded or styled to make it more obvious.
Haml
mit
hotvulcan/whitehall,YOTOV-LIMITED/whitehall,YOTOV-LIMITED/whitehall,askl56/whitehall,alphagov/whitehall,YOTOV-LIMITED/whitehall,alphagov/whitehall,robinwhittleton/whitehall,robinwhittleton/whitehall,ggoral/whitehall,ggoral/whitehall,askl56/whitehall,hotvulcan/whitehall,hotvulcan/whitehall,ggoral/whitehall,hotvulcan/whi...
dd71f1b872f6a6b92fc7f60c30dcdff6e9eba2c0
app/views/suspected_plagiarism_mailer/content_expert_email.html.haml
app/views/suspected_plagiarism_mailer/content_expert_email.html.haml
%link{rel: 'stylesheet', href:'/mailer.css'} %p.paragraph Suspected plagiarism from %a{href: "https://#{ENV['dashboard_url']}/users/#{@user.url_encoded_username}"}= "User:#{@user.username}" %p.paragraph Course: %a{href: "https://#{ENV['dashboard_url']}/courses/#{@course.slug}"}= @course.title %p.paragraph Art...
%link{rel: 'stylesheet', href:'/mailer.css'} %table.row %tbody %tr %th %table %tr %td.main-content %h1.headline = "Possible plagiarism detected on Wikipedia" %p.paragraph Wikipedia's plagiarism detection system picked ...
Rewrite possible plagiarism email for sending to instructors
Rewrite possible plagiarism email for sending to instructors
Haml
mit
sejalkhatri/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard,sejalkhatri/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard,sejalkhatri/WikiEduDashboard,sejalkhatri/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard,sejalkhatri/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard,WikiEducati...
6c31f157d3c6b978044bcc1e2d629b9f217d25bc
app/views/inspections/_form_section_type_basic.haml
app/views/inspections/_form_section_type_basic.haml
.row .margin-bottom-10 What is the inspection type? .field = f.hidden_field :inspection_type_id .max-width-px-400 - supercategories = InspectionType.pluck(:inspection_supercategory_name, :inspection_supercategory).uniq %select.inspection-supercategories{ name: 'supercategory' } %option = o...
.row .margin-bottom-10 What is the inspection type? .field = f.hidden_field :inspection_type_id .max-width-px-400 %select.inspection-supercategories{ name: 'supercategory' } %option = options_for_select([['Single-family / Duplex', 'residential'], ['Three or more units: Multi-family Residential...
Move to custom inspection supercategories in public view to improve UX options
Move to custom inspection supercategories in public view to improve UX options
Haml
mit
rossettistone/inspector-gadget,rossettistone/inspector-gadget,rossettistone/inspector-gadget
c6f936029238b39035b66ab30cc2c99c7cb745f7
app/views/layouts/application.html.haml
app/views/layouts/application.html.haml
!!! %html %head %meta{:name => "viewport", :content => "width=device-width, initial-scale=1.0"} %title= content_for?(:title) ? yield(:title) : 'Happenin' %meta{:name => "description", :content => "#{content_for?(:description) ? yield(:description) : 'Happenin'}"} = stylesheet_link_tag 'application', m...
!!! %html %head %meta{ name: 'viewport', content: 'width=device-width, initial-scale=1.0' } %title= content_for?(:title) ? yield(:title) : 'Happenin' %meta{ name: 'description', content: "#{content_for?(:description) ? yield(:description) : 'Happenin'}" } = stylesheet_link_tag 'application', media: 'a...
Change 'layouts/application' strings to use single-quotes
Change 'layouts/application' strings to use single-quotes
Haml
mit
davidochoa/happenin
c84313c939a8d8474fd8424e98db8f9bd557fc80
source/blog/index.html.haml
source/blog/index.html.haml
--- title: Alpine Lab, blog technique description: On parle de développement web, d'entreprenariat, de Ruby, de Rails, de Haml, de CSS/Sass, de CoffeeScript et d'Ember.js, ... priority: 0.5 pageable: true per_page: 3 layout: blog --- %section.posts-listing - page_articles.each do |article| %article{itemscope: tr...
--- title: Alpine Lab, blog technique description: On parle de développement web, d'entreprenariat, de Ruby, de Rails, de Haml, de CSS/Sass, de CoffeeScript et d'Ember.js, ... priority: 1.0 pageable: true per_page: 3 layout: blog --- %section.posts-listing - page_articles.each do |article| %article{itemscope: tr...
Change blog index to have priority 1.0 in sitemap
Change blog index to have priority 1.0 in sitemap
Haml
mit
lilfaf/website,alpinelab/website,lilfaf/website,alpinelab/website,alpinelab/website
53ae32852a0bf42347a825aff635827afff70142
app/views/portal/user_type_selector/index.html.haml
app/views/portal/user_type_selector/index.html.haml
.landing-container :javascript // // Would be nice to redirect to: // #{session[:omniauth_origin]} // but this is cleared out after logout. // if (!Portal.currentUser.isAnonymous) { PortalPages.renderSignupModal( { omniauth: true, omniauth_origin: "#{session[:omniauth_or...
.landing-container :javascript if (!Portal.currentUser.isAnonymous) { PortalPages.renderSignupModal( { omniauth: true, omniauth_origin: "#{session[:omniauth_origin]}" } ); } else { window.location.href = "/"; }
Remove comment no longer applicable.
Remove comment no longer applicable. [#150313274]
Haml
mit
concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse
203f79e53e5f9f9824326e67e99f2d8d650a8831
src/templates/haml/user/lost_passwordws.html.haml
src/templates/haml/user/lost_passwordws.html.haml
- stash(title => l('Password reset')); .grd-grid-12.static_full %h1= stash->{title} %p= l('To reset your password, enter the e-mail address you registered in the field below and click "RESET PASSWORD".') %form %fieldset .grd-parent.grd-grid-12.grd-row-padding .grd-grid-4.form_label %la...
- stash(title => l('Password reset')); .grd-grid-12.static_full %h1= stash->{title} %p= l('To reset your password, enter the e-mail address you registered in the field below and click "RESET PASSWORD".') %div %fieldset .grd-parent.grd-grid-12.grd-row-padding .grd-grid-4.form_label %lab...
Remove form usage to prevent submit onenter
Remove form usage to prevent submit onenter
Haml
apache-2.0
junbon/binary-static-www2,junbon/binary-static-www2
4c6591c9220676c97ddf2dda36e8e855d3196a74
app/views/devise/shared/_signup_box.html.haml
app/views/devise/shared/_signup_box.html.haml
.login-box - if signin_enabled? .login-heading %h3 New user? Create an account - else .login-heading %h3 Create an account .login-body = form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| .devise-errors = devise_error_messages! %div ...
.login-box - if signin_enabled? .login-heading %h3 New user? Create an account - else .login-heading %h3 Create an account .login-body - user = params[:user].present? ? params[:user] : {} = form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| .devis...
Make sign-up form retain fields after failed CAPTCHA test
Make sign-up form retain fields after failed CAPTCHA test
Haml
mit
openwide-java/gitlabhq,daiyu/gitlab-zh,t-zuehlsdorff/gitlabhq,darkrasid/gitlabhq,shinexiao/gitlabhq,SVArago/gitlabhq,allysonbarros/gitlabhq,duduribeiro/gitlabhq,axilleas/gitlabhq,stoplightio/gitlabhq,SVArago/gitlabhq,t-zuehlsdorff/gitlabhq,Soullivaneuh/gitlabhq,Datacom/gitlabhq,ttasanen/gitlabhq,jirutka/gitlabhq,screen...
9d4e99079418a0f603beffd5955dc02135ba8b82
app/views/spina/admin/hooks/projects/_website_secondary_navigation.html.haml
app/views/spina/admin/hooks/projects/_website_secondary_navigation.html.haml
%li{ class: ('active' if current_admin_path.start_with?('/projects')) } = link_to spina.admin_projects_path do = plugin.name
%li{ class: ('active' if current_admin_path.start_with?('/projects')) } = link_to 'Projects', spina.admin_projects_path
Update plugin name in CMS
Update plugin name in CMS
Haml
mit
DigitalReflow/spina-projects,DigitalReflow/spina-projects,DigitalReflow/spina-projects
0fe38aade923aa081339b22e1678540e02927d6d
app/views/newspresso_forum/topics/_reply.html.haml
app/views/newspresso_forum/topics/_reply.html.haml
%a{name: resource.id, id: resource.id} .row.topic-reply .columns.show-for-large-up.medium-2.large-1.topic-user - if resource.user.present? = link_to main_app.user_path(resource.user), class: "th" do = user_image_tag(resource.user, {width: 60, height: 60}) .columns.large-11.topic-content .topic...
%a{name: resource.id, id: resource.id} .row.topic-reply .columns.show-for-large-up.medium-2.large-1.topic-user - if resource.user.present? = link_to main_app.user_path(resource.user), class: "th" do = user_image_tag(resource.user, {width: 60, height: 60}) .columns.large-11.topic-content .topic...
Change avatar to use correct user's image
Change avatar to use correct user's image
Haml
mit
eWrestlingNews/newspresso_forum,eWrestlingNews/newspresso_forum,eWrestlingNews/newspresso_forum
01b4494e53fce837046792745c54e3b5f32d4519
app/views/layouts/_footer.html.haml
app/views/layouts/_footer.html.haml
%footer .copyright= raw(t 'footer.copyright') - if user_signed_in? = link_to((t 'footer.home_btn'), root_url) %span &mdash; = link_to(raw(t 'footer.settings_btn'), settings_path) %span &mdash; = link_to((t 'footer.feedback_btn'), feedback_path) %span &mdash; = link_to((t 'footer.logout_b...
%footer .copyright= raw(t 'footer.copyright') - if user_signed_in? = link_to((t 'footer.home_btn'), root_url) - unless current_user.waitlist? %span &mdash; = link_to(raw(t 'footer.settings_btn'), settings_path) %span &mdash; = link_to((t 'footer.feedback_btn'), feedback_path) %span &...
Make settings footer link only available to non wait list users
Make settings footer link only available to non wait list users
Haml
mit
hopkinschris/mallow,hopkinschris/mallow,hopkinschris/mallow
2116ad59187848d33d5dfaef4d6ddc41f74e30bb
app/views/shared/_archive.html.haml
app/views/shared/_archive.html.haml
%li = link_to archive[:name], month_url(archive[:year], archive[:month]) = "\(#{archive[:article_count]}\)"
%li = link_to archive[:name], month_url(archive[:year], archive[:month]) = archive[:article_count]
Revert "A small inconsitency between the ERb archives partial and the HAML version."
Revert "A small inconsitency between the ERb archives partial and the HAML version." This reverts commit c7c0e0cdcf0d8a55221b133b04d5e86f23618270.
Haml
mit
mleung/feather,mleung/feather,mleung/feather
ebe2d9929982339004cd91cf1dd91b0d26cba19e
app/views/shop/products/_filters.html.haml
app/views/shop/products/_filters.html.haml
.row.animate-show{"ng-show" => "filtersActive"} .small-12.columns = render partial: 'shared/components/filter_controls_shopfront' .row.filter-box.filter-box-shopfront.animate-hide{"ng-hide" => "filtersActive"} .small-12.columns .row.tdhead .small-12.medium-6.columns %h5 .light Filte...
.row.animate-show{"ng-hide" => "filtersActive"} .small-12.columns = render partial: 'shared/components/filter_controls_shopfront' .row.filter-box.filter-box-shopfront.animate-hide{"ng-show" => "filtersActive"} .small-12.columns .row.tdhead .small-12.medium-6.columns %h5 .light Filte...
Change markup because the boolean variable now works correctly
Change markup because the boolean variable now works correctly
Haml
agpl-3.0
oeoeaio/openfoodnetwork,KosenkoDmitriy/openfoodnetwork,RohanM/openfoodnetwork,Em-AK/openfoodnetwork,openfoodfoundation/openfoodnetwork,levent/openfoodnetwork,Matt-Yorkley/openfoodnetwork,oeoeaio/openfoodnetwork,lin-d-hop/openfoodnetwork,mkllnk/openfoodnetwork,KateDavis/openfoodnetwork,openfoodfoundation/openfoodnetwork...
ae7743c2abe09dbe2b20cd12946d396cd2f060e5
app/views/tasks/_all.html.haml
app/views/tasks/_all.html.haml
%li.highlight / .strip / ="test" .indentwide = all.name &ndash; = "Created by " + all.user.name = (", assigned to " + all.assignee.name) if all.assigned_to / - unless all.category.blank? / .strip{:class => all.category}= t(all.category) / - else / .strip.white #{t :other} / .tool...
%li.highlight[all] / - unless all.category.blank? / .strip{:class => all.category}= t(all.category) / - else / .strip.white #{t :other} .tools = "Hello." .indentwide = all.name = "| " %tt = link_to(all.user.name, user_path(all.user)) - if all.assigned_to = ", assign...
Add better format and Due In notes for specific time sets. Needs work on non-specific time
Add better format and Due In notes for specific time sets. Needs work on non-specific time
Haml
mit
sustainableharvest/fat_free_crm,sustainableharvest/fat_free_crm
638f9fbf3f67ff68bd1ff053f94db372ff7cd8c4
lib/integrity/ui/web/views/unauthorized.haml
lib/integrity/ui/web/views/unauthorized.haml
.error %h1 So... you don't know the password? Hmm... You can %a{ :href => "/login" } try again or = succeed "." do %a{ :href => "/", :rel => "home" } go back %dl %dt Er... So... I'm trying to login without a password... %dd Hey pal, sorry, but I can't let in no one that isn't...
.error %h1 So... you don't know the password? Hmm... You can %a{ :href => "/login" } try again or = succeed "." do %a{ :href => "/", :rel => "home" } go back %dl %dt Er... So... I'm trying to login without a password... %dd Hey pal, sorry, but I can't let in anyone that isn't...
Fix typo in 401 error screen
Fix typo in 401 error screen
Haml
mit
integrity/integrity,integrity/integrity,erik-escobedo/integrity,erik-escobedo/integrity,forresty/integrity,p/integrity,factorylabs/integrity,dkastner/prism_ci,faradayio/ci1,faradayio/ci1,factorylabs/integrity,forresty/integrity,integrity/integrity,p/integrity
9e20647cdf8d26575334b941a16518b48aaba07c
app/views/investigations/printable_index.html.haml
app/views/investigations/printable_index.html.haml
%h1= Investigation.display_name.pluralize %table %tr %th= Investigation.display_name.pluralize %th Usage Count - @investigations.each do |investigation| %tr{:style=>"background-color: #{cycle("#FFF", "#EEE")}"} %td= investigation.name %td= investigation.offerings_count
%h1= Investigation.display_name.pluralize %table %tr %th= Investigation.display_name.pluralize %th Usage Count - @investigations.each do |investigation| %tr{:style=>"background-color: #{cycle("#FFF", "#EEE")}"} %td= investigation.name - unless session[:include_usage_count].blank? %t...
Hide usage count in print view
Hide usage count in print view
Haml
mit
concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse
4f33bad6d57d07865bd3573556ef27c1ba586b66
app/views/shared/_main_nav.html.haml
app/views/shared/_main_nav.html.haml
%ul.nav.navbar-nav %li{:class => get_nav_link_class('dashboards') } = link_to dashboards_path do %i.fa.fa-home.fa-2x -# render the engine main nav components if there are any - SystemConfig.transam_module_names.each do |mod| = render :partial => "shared/#{mod}_main_nav" rescue nil -# render the ...
%ul.nav.navbar-nav %li{:class => get_nav_link_class('dashboards') } = link_to dashboards_path do %i.fa.fa-home.fa-2x -# render the engine main nav components if there are any - SystemConfig.transam_module_names.each do |mod| - view_component = "#{mod}_main_nav" - Rails.logger.debug "Checking fo...
Fix issue rendering main nav
Fix issue rendering main nav
Haml
mit
nycdot/transam_core,camsys/transam_core,camsys/transam_core,nycdot/transam_core,nycdot/transam_core,camsys/transam_core,camsys/transam_core
ae7e97112a1a854e5fa6c2d287ebf918ee66ba57
app/views/staffplans/index.html.haml
app/views/staffplans/index.html.haml
- content_for(:javascript) do :javascript $(function() { ko.applyBindings(new StaffPlanIndex()) }); - content_for(:fixed_header_section) do .list-header .single-flexible-column %a{data: {bind: "click: sortByName"}} Name %a{data: {bind: "click: sortByWorkload"}} Workload %a{data:...
- content_for(:javascript) do :javascript $(function() { ko.applyBindings(new StaffPlanIndex()) }); - content_for(:fixed_header_section) do .list-header .single-flexible-column %a{href: '#', data: {bind: "click: sortByName"}} Name %a{href: '#', data: {bind: "click: sortByWorkload"}} W...
Add href attributes so browsers show the pointer mouse icon.
Add href attributes so browsers show the pointer mouse icon.
Haml
mit
rescuedcode/staffplan_redux,rescuedcode/staffplan_redux,rescuedcode/staffplan_redux
9ec65d26ca522ebab0dbfe44471fdfde349c4fb4
app/views/static/impressum.html.haml
app/views/static/impressum.html.haml
.row .span6 %h1 Impressum .description Verantwortlich für den Inhalt dieser Seiten zeichnen sich: %br %address#jgraichen .name Jan Graichen .address Stahnsdorfer Str. 144a .city DE-14482 Potsdam %br %address#kfabian .name Kai Fabian .address Frankenhauser Str. 37 ...
.row .span6.box %h1 Impressum .description Verantwortlich für den Inhalt dieser Seiten zeichnen sich: %br %address#jgraichen .name Jan Graichen .address Stahnsdorfer Str. 144a .city DE-14482 Potsdam %br %address#kfabian .name Kai Fabian .address Frankenhauser Str....
Add impressum in box; add info mail link
Add impressum in box; add info mail link
Haml
agpl-3.0
openmensa/openmensa,openmensa/openmensa,chk1/openmensa,openmensa/openmensa,openmensa/openmensa,chk1/openmensa
e83ce1eb10752f6e0c6a1d552c083650fb4b1076
app/views/tenants/_account.html.haml
app/views/tenants/_account.html.haml
%tr[account] %td= account.code %td= account.title - for @date in @dates %td.currency = link_to currency_fmt(account.saldo(@date)), account_path(account, :by_value_period => @date.respond_to?(:first) ? {:from => @date.first.to_s(:db), :to => @date.last.to_s(:db)} : {:to => @date.to_s(:db)}), 'data-href-...
- zero_balance_row = @dates.select{|date| account.saldo(@date) != 0.0}.empty? %tr[account]{:class => (zero_balance_row ? 'zero_balance' : '')} %td= account.code %td= account.title - for @date in @dates %td.currency = link_to currency_fmt(account.saldo(@date)), account_path(account, :by_value_period =>...
Mark balance/profit sheet rows with .zero_balance class if needed.
Mark balance/profit sheet rows with .zero_balance class if needed.
Haml
agpl-3.0
gaapt/bookyt,silvermind/bookyt,silvermind/bookyt,hauledev/bookyt,hauledev/bookyt,huerlisi/bookyt,gaapt/bookyt,silvermind/bookyt,wtag/bookyt,silvermind/bookyt,huerlisi/bookyt,gaapt/bookyt,xuewenfei/bookyt,gaapt/bookyt,wtag/bookyt,xuewenfei/bookyt,huerlisi/bookyt,wtag/bookyt,hauledev/bookyt,hauledev/bookyt,xuewenfei/book...
1a769f5e5262d0870e1a7bc17da83e22b1a8be0e
app/views/control_center/statistics/index.html.haml
app/views/control_center/statistics/index.html.haml
- content_for :head_javascripts do = javascript_include_tag "/control_center/javascripts/jquery.flot.js" = javascript_include_tag "/control_center/javascripts/jquery.flot.stack.js" = javascript_include_tag "/control_center/javascripts/jquery.flot.resize.js" = javascript_include_tag "/control_center/javascripts/...
- content_for :head_javascripts do /[if lte IE 8] = javascript_include_tag "/control_center/javascripts/excanvas.js" = javascript_include_tag "/control_center/javascripts/jquery.flot.js" = javascript_include_tag "/control_center/javascripts/jquery.flot.stack.js" = javascript_include_tag "/control_center/jav...
Include excanvas for IE8 and below.
Include excanvas for IE8 and below.
Haml
mit
steverandy/concen,steverandy/concen
c6220c43101e3ef5ab45c5271713726b0b57caa0
app/views/layouts/dbd_data_engine/application.html.haml
app/views/layouts/dbd_data_engine/application.html.haml
!!! %html %head %title DbdDataEngine = stylesheet_link_tag 'dbd_data_engine/application' = csrf_meta_tags %body = yield
!!! %html %head %title DbdDataEngine = stylesheet_link_tag 'dbd_data_engine/application' = csrf_meta_tags %body = yield
Fix the haml layout (silly bug ...)
Fix the haml layout (silly bug ...)
Haml
mit
petervandenabeele/dbd_data_engine,petervandenabeele/dbd_data_engine,petervandenabeele/dbd_data_engine
b0e15158125ce6f5ca1d075d779f0455d29baa0c
app/views/settings/security/recovery_keys.haml
app/views/settings/security/recovery_keys.haml
.container-lg.container--main .row.justify-content-center .col-md-5.totp-setup__recovery-container .card .card-body .d-none.d-print-block.totp-setup__recovery-icon %i.fa.fa-comments %h1.totp-setup__recovery-title Your Retrospring recovery codes %ul.totp-set...
.container-lg.container--main .row.justify-content-center .col-md-5.totp-setup__recovery-container .card .card-body .d-none.d-print-block.totp-setup__recovery-icon %i.fa.fa-comments %h1.totp-setup__recovery-title= t(".heading", app_name: APP_CONFIG['site_name']) ...
Add translations for recovery key view
Add translations for recovery key view
Haml
agpl-3.0
Retrospring/retrospring,Retrospring/retrospring,Retrospring/retrospring,Retrospring/retrospring,Retrospring/retrospring
a09f25853404fbc491fcb74041f06b25fd49d639
app/views/dossier/reports/show.html.haml
app/views/dossier/reports/show.html.haml
%h1= report.class.name.titleize %table %thead %tr - report.results.headers.each do |header| %th= Dossier::Formatter.titleize(header) %tbody - report.results.body.each do |row| %tr - row.each do |value| %td= value - if report.results.footers.any? %tfoot - r...
%h1= report.class.name.titleize = link_to 'Download CSV', dossier_report_path(format: 'csv', options: report.options, report: report.class.report_name), class: 'download-csv' %table %thead %tr - report.results.headers.each do |header| %th= Dossier::Formatter.titleize(header) %tbody - report....
Move 'Download CSV' to top of show view
Move 'Download CSV' to top of show view
Haml
mit
adamhunter/dossier,kalkomey/dossier,hughkelsey/dossier,wzcolon/dossier,react2media/dossier,wzcolon/dossier,BuzzReferrals/dossier,adzap/dossier,ontrack/dossier,tma1/dossier,kalkomey/dossier,rubysolo/dossier,adamhunter/dossier,rubysolo/dossier,ontrack/dossier,kalkomey/dossier,react2media/dossier,react2media/dossier,ahawt...
604233ea2a9392410a9dd2e29ab78d5337200d76
app/views/documentation/phantomjs/_ruby.html.haml
app/views/documentation/phantomjs/_ruby.html.haml
:markdown The [Poltergeist](https://github.com/teampoltergeist/poltergeist) Gem provides a PhantomJS driver for [Capybara](https://github.com/jnicklas/capybara). To install it, add `poltergeist` to your scraper Gemfile: :coderay #!ruby gem "poltergeist" :markdown Then in your scraper start a Capybara sessio...
:markdown The [Poltergeist](https://github.com/teampoltergeist/poltergeist) Gem provides a PhantomJS driver for [Capybara](https://github.com/jnicklas/capybara). To install it, add `poltergeist` to your scraper Gemfile: :coderay #!ruby gem "poltergeist" :markdown Then in your scraper start a Capybara sessio...
Use double quotes by default
Use double quotes by default
Haml
agpl-3.0
otherchirps/morph,openaustralia/morph,otherchirps/morph,otherchirps/morph,otherchirps/morph,openaustralia/morph,otherchirps/morph,otherchirps/morph,openaustralia/morph,openaustralia/morph,openaustralia/morph,otherchirps/morph,openaustralia/morph,openaustralia/morph
45a880fa9c2d205fd7a9b302e8b51992a79cb1e2
app/views/components/cards/things_to_do/_card_tags.html.haml
app/views/components/cards/things_to_do/_card_tags.html.haml
- if stack_item.topchoice or stack_item.prices .card__tags - if stack_item.prices - if stack_item.prices[currency.to_s].present? && stack_item.prices[currency.to_s] > 0 .tag.tag--price .tag--price__inner .tag--price__values from .tag--price__amount< ...
- if stack_item.topchoice or stack_item.prices .card__tags - if stack_item.prices - if stack_item.prices[currency.to_s].present? && stack_item.prices[currency.to_s] > 0 - price = stack_item.prices[currency.to_s].ceil - if stack_item.on_sale? - if stack_item.retail_prices[currency.to_s...
Update TTD price tags to use new UI component
Update TTD price tags to use new UI component
Haml
mit
Lostmyname/rizzo,lonelyplanet/rizzo,lonelyplanet/rizzo,Lostmyname/rizzo,Lostmyname/rizzo,Lostmyname/rizzo,lonelyplanet/rizzo,lonelyplanet/rizzo,Lostmyname/rizzo,lonelyplanet/rizzo
4382f6945bda5a732c534a92332e59aeddc3fec9
src/app/views/users/_form.html.haml
src/app/views/users/_form.html.haml
= form.input :first_name, :disabled => @ldap_user = form.input :last_name, :disabled => @ldap_user = form.input :email, :disabled => @ldap_user, :required => @user.local_user? = form.input :username, :disabled => @ldap_user = form.input :password, :disabled => @ldap_user, :required => @user.check_password? = form.input...
= form.input :first_name, :disabled => @ldap_user = form.input :last_name, :disabled => @ldap_user = form.input :email, :disabled => @ldap_user, :required => @user.local_user? = form.input :username, :disabled => @ldap_user = form.input :password, :disabled => @ldap_user, :required => @user.check_password? = form.input...
Use unlimited numeric input on users/form for quota
Use unlimited numeric input on users/form for quota
Haml
apache-2.0
aeolusproject/conductor,aeolusproject/conductor,aeolusproject/conductor,aeolusproject/conductor
9d938a6aa81946758deed1312d3094cc61bfa7ce
vendor/engines/split_accounts/app/views/facility_accounts/account_fields/split_accounts/_splits.html.haml
vendor/engines/split_accounts/app/views/facility_accounts/account_fields/split_accounts/_splits.html.haml
= javascript_include_tag "split_account_splits" %h4 Subaccounts %div{data: {subaccounts: true}} = f.nested_fields_for :splits, class_name: "SplitAccounts::Split" do |ff| .well = ff.input :subaccount_id, collection: SplitAccounts::Split.available_subaccounts, wrapper_html: {class: "input-inline"} = f...
= javascript_include_tag "split_account_splits" %h4 Subaccounts %div{data: {subaccounts: true}} = f.nested_fields_for :splits, class_name: "SplitAccounts::Split" do |ff| .well = ff.input :subaccount_id, collection: SplitAccounts::Split.available_subaccounts, wrapper_html: {class: "input-inline"}, input_ht...
Add chosen to split account dropdown
Add chosen to split account dropdown
Haml
mit
tablexi/nucore-open,tablexi/nucore-open,tablexi/nucore-open,tablexi/nucore-open
92cd918e5a309b7da5815ad49f14dea4b9ed9dbd
app/views/shop/messages/_customer_required.html.haml
app/views/shop/messages/_customer_required.html.haml
.content{ "darker-background" => true } .row.footer-pad .small-12.columns %strong = t '.require_customer_login' %p - if spree_current_user.nil? %p = t('.require_login_html', login: ('<a auth="login">' + t('.login') + '</a>').html_safe, signup: ('<a auth="signup">' + t('...
.content{ "darker-background" => true } .row.footer-pad .small-12.columns{ "data-controller": "login-modal" } %strong = t '.require_customer_login' %p - if spree_current_user.nil? %p = t('.require_login_html', login: ('<a auth="login" data-action="click->login-modal#cal...
Add LoginModal as controller + connect action to open login modal
Add LoginModal as controller + connect action to open login modal
Haml
agpl-3.0
openfoodfoundation/openfoodnetwork,mkllnk/openfoodnetwork,openfoodfoundation/openfoodnetwork,lin-d-hop/openfoodnetwork,lin-d-hop/openfoodnetwork,openfoodfoundation/openfoodnetwork,mkllnk/openfoodnetwork,mkllnk/openfoodnetwork,lin-d-hop/openfoodnetwork,mkllnk/openfoodnetwork,lin-d-hop/openfoodnetwork,openfoodfoundation/...
602f73a4e7445a1ed67fcd6d63c4844288a75e2b
app/views/rails_admin/main/_show_association.html.haml
app/views/rails_admin/main/_show_association.html.haml
- display_name = field.association[:pretty_name] - model_name = field.association[:name] - associations = [field.bindings[:object].send(model_name)].flatten.compact %div.label= field.label %div.value %ul - associations.each do |association| %li= link_to "#{display_name.singularize} ##{association.id}", r...
- display_name = field.association[:pretty_name] - model_name = field.association[:name] - associations = [field.bindings[:object].send(model_name)].flatten.compact %div.label= field.label %div.value %ul - associations.each do |association| %li= link_to "#{display_name.singularize} ##{association.id}", r...
Fix 'undefined method downcase for Symbol' for Ruby 1.8.7/REE
Fix 'undefined method downcase for Symbol' for Ruby 1.8.7/REE
Haml
mit
jemcode/rails_admin,DonCuponesInternet/rails_admin,DonCuponesInternet/rails_admin,bf4/rails_admin,markprzepiora-forks/rails_admin,sideci-sample/sideci-sample-rails_admin,vanbumi/rails_admin,onursarikaya/rails_admin,FeipingHunag/admin,inaka/rails_admin,aliada-mx/rails_admin,dalpo/rails_admin,dwbutler/rails_admin,voyera/...
2c3e88d53cea11a9d7f05a4cf5964c839c5cc2ad
app/views/companies/registrations/new.html.haml
app/views/companies/registrations/new.html.haml
.padding-for-small %h2 Sign up for company account = simple_form_for(resource, as: resource_name, url: registration_path(resource_name), html: { 'data-behavior' => 'turbolinks-form' }) do |f| = render partial: 'errors', locals: { object: f.object } .form-inputs = f.input :email, required: true, autofo...
.padding-for-small %h2 Sign up for company account = simple_form_for(resource, as: resource_name, url: registration_path(resource_name), html: { 'data-behavior' => 'turbolinks-form' }) do |f| = render partial: 'errors', locals: { object: f.object } .form-inputs = f.input :email, required: true, autofo...
Add TOS acceptance to Company registration form
Add TOS acceptance to Company registration form
Haml
mit
moroz/hatarake,moroz/hatarake,moroz/hatarake,moroz/hatarake
2b11a794373b1e192c947a88323e5f9a0cc7237c
app/views/spree/line_items/_ship_address.html.haml
app/views/spree/line_items/_ship_address.html.haml
- if item.product_subscription? - item_address_id = "#{item.id}-address" %fieldset{ id: item_address_id, class: 'js-shipping-address', data: { hook: '' } } = form.fields_for :line_items, item do |item_form| %legend{ align: 'center' }= "#{item.product.name} - #{item.id}" = check_box_tag "#{item_addre...
- if item.product_subscription? - item_address_id = "#{item.id}-address" %fieldset{ id: item_address_id, class: 'js-shipping-address', data: { hook: '' } } = form.fields_for :line_items, item do |item_form| %legend{ align: 'center' }= "#{item.product.name} - #{item.id}" = item_form.check_box :gift, ...
Add gift fields on top on each subscription address
Add gift fields on top on each subscription address
Haml
bsd-3-clause
stevenbarragan/spree_random_subscriptions,crowdint/spree_random_subscriptions,stevenbarragan/spree_random_subscriptions,crowdint/spree_random_subscriptions
04e798a5154b2b2a86288f51081da8495f96bee5
app/views/projects/notes/_diff_notes_with_reply.html.haml
app/views/projects/notes/_diff_notes_with_reply.html.haml
- note = notes.first # example note -# Check if line want not changed since comment was left - if !defined?(line) || line == note.diff_line %tr.notes_holder %td.notes_line{ colspan: 2 } %span.discussion-notes-count %i.fa.fa-comment = notes.count %td.notes_content %ul.notes{ data: {...
- note = notes.first # example note -# Check if line want not changed since comment was left - if !defined?(line) || line == note.diff_line %tr.notes_holder %td.notes_line{ colspan: 2 } %td.notes_content %ul.notes{ data: { discussion_id: note.discussion_id } } = render notes .discussion-re...
Remove comment count & icon
Remove comment count & icon
Haml
mit
dplarson/gitlabhq,martijnvermaat/gitlabhq,daiyu/gitlab-zh,mr-dxdy/gitlabhq,darkrasid/gitlabhq,t-zuehlsdorff/gitlabhq,daiyu/gitlab-zh,larryli/gitlabhq,t-zuehlsdorff/gitlabhq,larryli/gitlabhq,Soullivaneuh/gitlabhq,mr-dxdy/gitlabhq,darkrasid/gitlabhq,martijnvermaat/gitlabhq,mmkassem/gitlabhq,openwide-java/gitlabhq,axillea...
14a79d0991514cf16ccc17c40b5d062e5f1f4c7a
app/views/statuses/_status.html.haml
app/views/statuses/_status.html.haml
''%li.clearfix .avatar{:style => "background: url(#{gravatar_url_for_user(status.user, 48)});"} %div.activity %span.text= auto_link(status.text) %span= status.user.name if status.user %span= timeago(status.created_at) %span.white = link_to "via #{status.source}", status.link if status.link.pre...
%li.clearfix .avatar{:style => "background: url(#{gravatar_url_for_user(status.user, 48)});"} %div.activity %span.text= status.text %span= status.user.name if status.user %span= timeago(status.created_at) %span.white = link_to "via #{status.source}", status.link if status.link.present?
Revert "Auto link the status text." due to a typo.
Revert "Auto link the status text." due to a typo. This reverts commit 7b56b73d62033dd0ca248dcfa5bcf1a0f5979f10.
Haml
mit
kiskolabs/splendidbacon,kiskolabs/splendidbacon
e4830607939dd397fd1118ebfda0f24c031976ad
app/views/application/_user_nav.html.haml
app/views/application/_user_nav.html.haml
- if logged_in? %nav %ul.nav.nav-pills %li = link_to 'Dashboard', dashboard_path %li = link_to 'Profile', user_path(current_user) %li = link_to 'Preferences', email_path %li.pull-right = link_to 'Logout', logout_path - else # Just for padding .faulx-nav
- if logged_in? %nav %ul.nav.nav-pills %li = link_to 'All Projects', projects_path %li = link_to 'Dashboard', dashboard_path %li = link_to 'Profile', user_path(current_user) %li = link_to 'Preferences', email_path %li.pull-right = link_to 'Log...
Add "All Projects" link to navigation
Add "All Projects" link to navigation
Haml
mit
vyorkin-forks/24pullrequests,pimterry/24pullrequests,24pullrequests/24pullrequests,wadtech/24pullrequests,pimterry/24pullrequests,acrogenesis-lab/24pullrequests,erikaheidi/24pullrequests,vyorkin-forks/24pullrequests,wadtech/24pullrequests,davefp/24pullrequests,tegon/24pullrequests,tarebyte/24pullrequests,jasnow/24pullr...
c4a2958df2d6a6423f1a245123e0cfd65680d05a
app/views/output_elements/index.html.haml
app/views/output_elements/index.html.haml
#select_charts - @groups.each_pair do |group, charts| %h1= t("chart_group.#{group.downcase}") - if charts.is_a?(Array) = render 'chart_preview', charts: charts - elsif charts.is_a?(Hash) - charts.each_pair do |sub_group, charts| - if sub_group.present? %h2= t("chart_sub_grou...
#select_charts - @groups.each_pair do |group, charts| %h1= t("chart_group.#{group.downcase}").html_safe - if charts.is_a?(Array) = render 'chart_preview', charts: charts - elsif charts.is_a?(Hash) - charts.each_pair do |sub_group, charts| - if sub_group.present? %h2= t("char...
Allow use of HTML in chart categories
Allow use of HTML in chart categories
Haml
mit
quintel/etmodel,quintel/etmodel,quintel/etmodel,quintel/etmodel
e640450be6ad2d77cfae5dfd4608ffb82934c95a
app/views/users/shared/_links.haml
app/views/users/shared/_links.haml
- if controller_name != 'sessions' = link_to "Sign in", new_session_path(resource_name) %br/ - if devise_mapping.registerable? && controller_name != 'registrations' = link_to "Sign up", new_registration_path(resource_name) %br/ - if devise_mapping.recoverable? && controller_name != 'passwords' && controller_nam...
- if controller_name != 'sessions' = link_to "Sign in", new_session_path(resource_name) %br/ - if devise_mapping.registerable? && controller_name != 'registrations' = link_to "Sign up", new_registration_path(resource_name) %br/ - if devise_mapping.recoverable? && controller_name != 'passwords' && controller_nam...
Check if provider is enabled before adding link
Check if provider is enabled before adding link Determine if each provider is enabled in 'config/environment_custom.rb' before attempting to add a link in the shared links view. Without the check, the links would always be available but would be dead ends on the provider side if the admin hadn't provided a key and sec...
Haml
agpl-3.0
robinsonj/P4IdeaX,robinsonj/P4IdeaX
58e248e68e12ade637783c4db4889fd733ed0f96
app/views/posts/_post.html.haml
app/views/posts/_post.html.haml
.post %h3.title = link_to post.title, post %p.meta %span.date #{post.created_at.day} de #{I18n.t('date.month_names')[post.created_at.month.to_i]} de #{post.created_at.year} %span.comments Comentarios: = link_to post.comments.visible_by(current_user).count, post_path(post, :anchor => ...
.post %h3.title = link_to post.title, post %p.meta %span.date #{post.created_at.day} de #{I18n.t('date.month_names')[post.created_at.month.to_i]} de #{post.created_at.year} %span.comments Comentarios: = link_to post.comments.visible_by(current_user).count, post_path(post, :anchor => ...
Add contributor to post view
Add contributor to post view
Haml
mit
jschwindt/Venganzas-del-Pasado,jschwindt/Venganzas-del-Pasado,jschwindt/Venganzas-del-Pasado,jschwindt/Venganzas-del-Pasado
c23bde218a0d54f99818beda75db8f8b010d5925
app/views/users/_form.html.haml
app/views/users/_form.html.haml
- url = @user.new_record? ? user_path : user_path(@user) = semantic_form_for(@user, :url => url) do |form| = form.inputs do = form.input :name = form.input :email = form.input :password = form.input :password_confirmation = form.input :profile = form.input :image = form.input :team, :colle...
- url = @user.new_record? ? user_path : user_path(@user) = semantic_form_for(@user, :url => url) do |form| = form.inputs do = form.input :name = form.input :email = form.input :password = form.input :password_confirmation = form.input :profile, :as => :text = form.input :image = form.input...
Change field types on user form
Change field types on user form
Haml
mit
stevehook/storyboard,stevehook/storyboard
5d36c66aff8d97bf7e1e3317f3751158c9073d27
app/assets/javascripts/templates/partials/follow.html.haml
app/assets/javascripts/templates/partials/follow.html.haml
%div.modal-centered{ "ng-if" => "::enterprise.twitter || enterprise.facebook || enterprise.linkedin || enterprise.instagram"} %p.modal-header {{'follow' | t}} .follow-icons %span{"ng-if" => "::enterprise.twitter"} %a{"ng-href" => "http://twitter.com/{{::enterprise.twitter}}", target: "_blank"} %i....
%div.modal-centered{ "ng-if" => "::enterprise.twitter || enterprise.facebook || enterprise.linkedin || enterprise.instagram"} %p.modal-header {{'follow' | t}} .follow-icons %span{"ng-if" => "::enterprise.twitter"} %a{"ng-href" => "http://www.twitter.com/{{::enterprise.twitter}}", target: "_blank"} ...
Update follow partial to reflect social urls correctly
Update follow partial to reflect social urls correctly
Haml
agpl-3.0
mkllnk/openfoodnetwork,openfoodfoundation/openfoodnetwork,openfoodfoundation/openfoodnetwork,lin-d-hop/openfoodnetwork,lin-d-hop/openfoodnetwork,lin-d-hop/openfoodnetwork,openfoodfoundation/openfoodnetwork,mkllnk/openfoodnetwork,Matt-Yorkley/openfoodnetwork,mkllnk/openfoodnetwork,mkllnk/openfoodnetwork,Matt-Yorkley/ope...
9a6fad65652071697934cfe1d547815c34061040
app/views/assets/_accounting_asset_info_detail.html.haml
app/views/assets/_accounting_asset_info_detail.html.haml
- if @asset.depreciable %fieldset %legend.panel-legend Depreciation = format_field("Book Value", format_as_currency(@asset.book_value)) = format_field("Current Depreciation Date", format_as_date(@asset.current_depreciation_date))
- if @asset.depreciable = format_field("Book Value", format_as_currency(@asset.book_value))
Tweak summary info for assets
Tweak summary info for assets
Haml
mit
camsys/transam_accounting,camsys/transam_accounting,camsys/transam_accounting,camsys/transam_accounting
3fb424b58b2afdcee815a0e7d437fa6ca20ef6f7
app/views/admin/lead_scoring/index.html.haml
app/views/admin/lead_scoring/index.html.haml
.title Lead Scoring .list = form_for :lead_scoring_rules do |f| %ul#lead_scoring_rules - @lead_scoring_rules.each_with_index do |rule, i| = f.fields_for i.to_s, rule do |r| = render "form", :r => r, :index => i .buttonbar.lead_scoring_buttons = add_lead_scoring_rule_button(f)...
:javascript var observed_cloudfuji_events = #{Cloudfuji::Data.observed_events.map(&:to_s).inspect}; .title Lead Scoring .list = form_for :lead_scoring_rules do |f| %ul#lead_scoring_rules - @lead_scoring_rules.each_with_index do |rule, i| = f.fields_for i.to_s, rule do |r| = render "f...
Add observed_cloudfuji_events javascript array for input autocomplete
Add observed_cloudfuji_events javascript array for input autocomplete
Haml
mit
cloudfuji/ffcrm_cloudfuji,cloudfuji/ffcrm_cloudfuji
f58b8e3d15a594439ec789ae354a14bc27a05e26
app/views/external_users/claims/_error_summary.html.haml
app/views/external_users/claims/_error_summary.html.haml
- if ep && ep.size > 0 .error-summary{role: "group", 'aria-labelledby': "error-summary-heading", tabindex:'-1'} %h1.heading-medium.error-summary-heading{id: 'error-summary-heading'} = "#{t('.prohibited_save')} #{pluralize(ep.size, t('.error'))}" %span.form-hint = t('shared.errors.form_error_hint'...
- if ep && ep.size > 0 .error-summary{role: "group", 'aria-labelledby': "error-summary-heading", tabindex:'-1'} %h1.heading-medium.error-summary-heading{id: 'error-summary-heading'} = "#{t('.prohibited_save')} #{pluralize(ep.size, t('.error'))}" %span.form-hint = t('shared.errors.form_error_hint'...
Sort orders according to custom sequence in error_messages.yml
Sort orders according to custom sequence in error_messages.yml The header errors method returns a collection to ErrorDetail object which are already sort. No further ordering should be needed, r if so then it should be done via the `_seq` values in `error_messages.en.yml`
Haml
mit
ministryofjustice/advocate-defence-payments,ministryofjustice/advocate-defence-payments,ministryofjustice/advocate-defence-payments,ministryofjustice/advocate-defence-payments
d6c506ba6a3b8c2825948c0da1b40dd9b3e397b7
source/blog/archives.html.haml
source/blog/archives.html.haml
--- layout: default title: Blog archives --- .blog.archives .wrapper .section %ul - blog.articles.each do |post| %li = link_to post.url do = post.title - if post.date %time = post.date.to_time.strftime '%b %e, %Y'
--- layout: default title: Blog archives --- .blog.archives .wrapper = partial "includes/newsletter-signup.html" .section %ul - blog.articles.each do |post| %li = link_to post.url do = post.title - if post.date %time ...
Add the letter signup layout in the blog archives page
Add the letter signup layout in the blog archives page
Haml
mit
damianhakert/damianhakert.github.io
2f7e1aefdd75f8b52cac0d01c3a6092c6fbde1e0
app/views/newsletters/index.html.haml
app/views/newsletters/index.html.haml
%h1 Newsletters %div.row %ul.block-grid-md-4.block-grid-sm-2 - @newsletters.each do |newsletter| %li = link_to newsletter do = image_tag attachment_url(newsletter, :featured_image, :fill, 300, 300, format: "jpg") %h2 = link_to newsletter.name, newsletter = link_t...
%div.row %h1 = params[:tag].capitalize.html_safe Newsletters %ul.block-grid-md-4.block-grid-sm-2 - @newsletters.each do |newsletter| %li = link_to newsletter do = image_tag attachment_url(newsletter, :featured_image, :fill, 300, 300, format: "jpg") %h2 = link_t...
Set up the newsletter set up
Set up the newsletter set up
Haml
mit
rememberlenny/newsletterstand,rememberlenny/email-newsletter-stand,rememberlenny/newsletterstand,rememberlenny/newsletterstand,rememberlenny/email-newsletter-stand,rememberlenny/email-newsletter-stand
8867e04cc17ab6de5cf73eb5d6ca00278df7f2e8
app/views/users/_form.html.haml
app/views/users/_form.html.haml
= simple_form_for @user do |f| = f.input :login if @user.respond_to? :login = f.input :email = f.input :password, :hint => !f.object.new_record?, :input_html => {:autocomplete => "off"} = f.input :password_confirmation = f.input :current_password, :required => true unless can?(:manage, User) = f.input :role...
= simple_form_for @user do |f| .row-fluid .span6= f.input :login if @user.respond_to? :login .span6= f.input :email .row-fluid .span6= f.input :password, :hint => !f.object.new_record?, :input_html => {:autocomplete => "off"} .span6= f.input :password_confirmation - unless can?(:manage, User) ...
Use proper bootstrap markup for users/form.
Use proper bootstrap markup for users/form.
Haml
mit
huerlisi/lyb_devise_admin,huerlisi/lyb_devise_admin,huerlisi/lyb_devise_admin
07cbb08b4245d0abd447d3b318c475a6459a97b6
app/views/spree/admin/shipping_methods/edit.html.haml
app/views/spree/admin/shipping_methods/edit.html.haml
- content_for :page_title do = Spree.t(:editing_shipping_method) - content_for :page_actions do %li = button_link_to t(:new), spree.new_admin_shipping_method_path, :icon => 'icon-plus' %li = button_link_to Spree.t(:back_to_shipping_methods_list), spree.admin_shipping_methods_path, :icon => 'icon-arrow-lef...
- content_for :page_title do = Spree.t(:editing_shipping_method) - content_for :page_actions do %li = button_link_to t(:new), spree.new_admin_shipping_method_path, icon: 'icon-plus' %li = button_link_to Spree.t(:back_to_shipping_methods_list), spree.admin_shipping_methods_path, icon: 'icon-arrow-left' %di...
Change to new ruby hash syntax
Change to new ruby hash syntax
Haml
agpl-3.0
Matt-Yorkley/openfoodnetwork,openfoodfoundation/openfoodnetwork,lin-d-hop/openfoodnetwork,lin-d-hop/openfoodnetwork,lin-d-hop/openfoodnetwork,mkllnk/openfoodnetwork,Matt-Yorkley/openfoodnetwork,mkllnk/openfoodnetwork,lin-d-hop/openfoodnetwork,openfoodfoundation/openfoodnetwork,mkllnk/openfoodnetwork,mkllnk/openfoodnetw...
fa4496055cb554f2656d66f350bfb159374e140d
app/views/heroes/_list.html.haml
app/views/heroes/_list.html.haml
- heroes.each do |hero| %a{:href => short_hero_path(hero)} = image_tag(hero.avatar_url, :alt => hero.login, :class => 'hero-shot')
- heroes.each do |hero| %a{:href => short_hero_path(hero)} = image_tag(hero.avatar_url, :alt => hero.login, :class => 'hero-shot', :title => hero.name)
Add the hero name as the title
Add the hero name as the title
Haml
mit
arunthampi/githeroes,arunthampi/githeroes
b97ab71b92a32704d593264d3e879acabb998103
app/views/search/_form.html.haml
app/views/search/_form.html.haml
= form_tag search_path, method: 'get' do = search_field_tag 'query[keywords]' = submit_tag 'search'
= form_tag search_path, method: :get do = search_field_tag 'query[keywords]' = submit_tag 'search'
Use symbol for a constant value
Use symbol for a constant value
Haml
mit
bm-sms/daimon-news,bm-sms/daimon-news,bm-sms/daimon-news
04821a68750af93a2c975844b60eb61d43fb47ff
app/views/shared/dossiers/editable_champs/_siret.html.haml
app/views/shared/dossiers/editable_champs/_siret.html.haml
= form.text_field :value, placeholder: champ.libelle, class: 'small-margin', data: { siret: champs_siret_path(format: :js, champ_id: champ) }, required: champ.mandatory? .spinner.right-spinner %div{ id: "etablissement-for-#{champ.id}" } - if champ.etablissement.present? = render partial: 'shared/dossiers/...
= form.text_field :value, placeholder: champ.libelle, class: 'small-margin', data: { siret: champ.persisted? ? champs_siret_path(format: :js, champ_id: champ) : nil }, required: champ.mandatory? .spinner.right-spinner %div{ id: "etablissement-for-#{champ.id}" } - if champ.etablissement.present? = render p...
Disable Champ SIRET autocomplete for previews
Disable Champ SIRET autocomplete for previews
Haml
agpl-3.0
sgmap/tps,sgmap/tps,sgmap/tps
2f198c33c40819f131ad52df5ddfffd013ce330a
app/views/atmosphere/help/api.html.haml
app/views/atmosphere/help/api.html.haml
.row .col-md-2 %h2 = link_to help_path, class: 'btn btn-default btn-xs' do =icon 'angle-left' = t 'help.back' %span.pull-right API %hr #ul.nav.nav-pills.nav-stacked - %w(README tenants appliance_types port_mapping_templates endpoints port_mapping_properties appliance_con...
.row .col-md-2 %h2 = link_to help_path, class: 'btn btn-default btn-xs' do =icon 'angle-left' = t 'help.back' %span.pull-right API %hr #ul.nav.nav-pills.nav-stacked - %w(README compute_sites appliance_types port_mapping_templates endpoints port_mapping_properties applian...
Fix compute site help page
Fix compute site help page
Haml
mit
donpiekarz/atmosphere,dice-cyfronet/atmosphere,dice-cyfronet/atmosphere,donpiekarz/atmosphere,dice-cyfronet/atmosphere,donpiekarz/atmosphere
3c984efae90ff1e5a3a38494c7174d5add822fbf
app/views/cms/resources/_form.html.haml
app/views/cms/resources/_form.html.haml
= form_for @entry do |f| - @attributes_for_form.each do |attribute| %fieldset.form-group = f.label @resource.human_attribute_name(attribute.name) = render attribute.form_partial_path, f: f, entry: @entry, attribute: attribute %fieldset.form-group = f.submit 'Submit', class: 'btn btn-primary' ...
= form_for @entry do |f| - @attributes_for_form.each do |attribute| %fieldset.form-group = f.label @resource.human_attribute_name(attribute.name) = render attribute.form_partial_path, f: f, entry: @entry, attribute: attribute %fieldset.form-group = f.submit 'Submit', class: 'btn btn-primary' ...
Fix back and delete links for resources form
Fix back and delete links for resources form
Haml
mit
droptheplot/adminable,droptheplot/adminable,droptheplot/adminable
c1e4dcb6896b0255edf43a8b5af9d3ffdafeaddd
app/views/users/passwords/new.html.haml
app/views/users/passwords/new.html.haml
.auth__form %h2= I18n.t 'auth.forgot.link' = simple_form_for resource, as: resource_name, url: password_path(resource_name) do |f| = devise_error_messages! = f.input :email, autofocus: true, required: true = f.button :submit, I18n.t('auth.forgot.submit'), class: 'btn-primary' = render "users/shared/...
.auth__form %h2= I18n.t 'auth.forgot.link' = simple_form_for resource, as: resource_name, url: password_path(resource_name) do |f| = f.input :email, autofocus: true, required: true = f.button :submit, I18n.t('auth.forgot.submit'), class: 'btn-primary' = render "users/shared/links"
Remove generic devise error message
Remove generic devise error message
Haml
mit
aninder/rails4-starterkit,mwahmed/picxel,kbarre123/starterkits_rails4,nfelix/mvmt,rememberlenny/email-newsletter-stand,kbarre123/starterkits_rails4,nfelix/mvmt,girlIT/Weekend,jocelyndrean/glowing-avenger,yogadog/rails-project,rememberlenny/newsletterstand,mwahmed/picxel,ak15/beshare_ak15,Gerstep/cine,MonikaMahanthappa/...
7330221dd6eac9737301d0925179e9f51795fc0b
app/views/advocates/claims/confirmation.html.haml
app/views/advocates/claims/confirmation.html.haml
- present(@claim) do |claim| %h1.page-title = t('.thanks') %p = t('.will_be_processed') %h2 =t('.claim_summary') %p =t('.fees_summary') = claim.fees_total %p =t('.expenses_total') = claim.expenses_total - if claim.apply_vat? %p =t('.vat_amount') = claim.vat_a...
- present(@claim) do |claim| %h1.page-title = t('.thanks') %p = t('.will_be_processed') %h2 =t('.claim_summary') %p =t('.fees_summary') = claim.fees_total %p =t('.expenses_total') = claim.expenses_total - if claim.apply_vat? %p =t('.vat_amount') = claim.vat_a...
Add feedback message on the confirmation page
Add feedback message on the confirmation page
Haml
mit
ministryofjustice/advocate-defence-payments,ministryofjustice/advocate-defence-payments,ministryofjustice/advocate-defence-payments,ministryofjustice/advocate-defence-payments
733d5eb251ef1c6146d8ef89da87a55f6708679e
app/views/home/history.html.haml
app/views/home/history.html.haml
.page-header %h1 All edits made in the last week - history = (PaperTrail::Version.where("created_at > ?", 1.week.ago) + WikiMotion.where("edit_date > ?", 1.week.ago)).sort_by{|v| -v.created_at.to_i} %ul - history.each do |version| %li - if version.kind_of?(WikiMotion) Changed text on = l...
- content_for :title, 'Recent edits' .page-header %h1 All edits made in the last week - history = (PaperTrail::Version.where("created_at > ?", 1.week.ago) + WikiMotion.where("edit_date > ?", 1.week.ago)).sort_by{|v| -v.created_at.to_i} %ul - history.each do |version| %li - if version.kind_of?(WikiMotion...
Add title to history page
Add title to history page
Haml
agpl-3.0
mysociety/publicwhip,mysociety/publicwhip,mysociety/publicwhip
fa9ca036b79ae5de5f24c975b82640788dc13fa2
app/views/sessions/new.html.haml
app/views/sessions/new.html.haml
.login-panel.panel.panel-default .panel-heading %h3.panel-title = t('messages.please_sign_in') .panel-body = render partial: "shared/error" = form_for(:session, url: sessions_path) do |f| .form-group = f.text_field :name, placeholder: t('terms.name') .form-group = f.pas...
.login-panel.panel.panel-default .panel-heading %h3.panel-title = t('messages.please_sign_in') .panel-body = render partial: "shared/error" = form_for(:session, url: sessions_path) do |f| .form-group = f.text_field :name, placeholder: t('terms.name'), class: "form-control" .for...
Apply bootstrap inputbox design to ones in login form
Apply bootstrap inputbox design to ones in login form
Haml
apache-2.0
fluent/fluentd-ui,fluent/fluentd-ui,mt0803/fluentd-ui,mt0803/fluentd-ui,mt0803/fluentd-ui,fluent/fluentd-ui
666fc8239b653c3536eb7dea0143c7546a4de3e9
app/views/comfy/admin/cms/pages/_index_branch.html.haml
app/views/comfy/admin/cms/pages/_index_branch.html.haml
- page ||= index_branch - children = @pages_by_parent[page.id] - siblings = @pages_by_parent[page.parent_id] - has_children = children.present? - has_siblings = siblings.size > 1 - branch_open = (session[:cms_page_tree] || []).member?(page.id.to_s) || page.root? - category_view = @filters_present ...
- page ||= index_branch - children = @pages_by_parent[page.id] - siblings = @pages_by_parent[page.parent_id] - has_children = children.present? - has_siblings = siblings.size > 1 - branch_open = (session[:cms_page_tree] || []).member?(page.id.to_s) || page.root? - category_view = @filters_present ...
Remove categories from page listing
Remove categories from page listing
Haml
mit
moneyadviceservice/cms,moneyadviceservice/cms,moneyadviceservice/cms,moneyadviceservice/cms
efa31aebe544d5fbe610cb9205550a6bfdcd43cd
app/views/layouts/_start_certificate_modal.haml
app/views/layouts/_start_certificate_modal.haml
.modal.modal-wide.hide.fade#start-cert-modal .modal-header %button.close{:type => :button, 'data-dismiss' => :modal, 'aria-hidden' => true} &times; %h3= t('homepage.start_new_certificate') .modal-body .row-fluid .span6.log-in %h1= t('homepage.log_in') = render 'devise/sessions/form...
= modal_popup('start-cert-modal', '', t('homepage.start_new_certificate')) do .row-fluid .span6.log-in %h1= t('homepage.log_in') = render 'devise/sessions/form', resource: User.new, resource_name: 'user', remote: true, form_id: 'start_cert_modal_form' .span6 %h1= t('homepage.dont_have_an_acc...
Convert start questionnaire modal to use helper
Convert start questionnaire modal to use helper
Haml
mit
istvan-antal/open-data-certificate,zoul/open-data-certificate,zoul/open-data-certificate,zoul/open-data-certificate,theodi/open-data-certificate,theodi/open-data-certificate,zoul/open-data-certificate,theodi/open-data-certificate,ahmadassaf/open-data-certificate,Motejl/open-data-certificate,istvan-antal/open-data-certi...
9e4144086c6b79271bf60e61a9239d4b0b2d7adb
dashboard/app/views/ops_mailer/exit_survey_information.html.haml
dashboard/app/views/ops_mailer/exit_survey_information.html.haml
%p Dear #{@recipient.ops_first_name}, %p Thanks for attending your #{@workshop.phase_info[:long_name]} in-person workshop. %br We appreciate any feedback you have. Please take a moment to complete this = render partial: 'exit_survey_url', locals: {workshop: @workshop, link_text: "short survey"} about your Cod...
%p Dear #{@recipient.ops_first_name}, %p Thanks for attending your #{@workshop.phase_info[:long_name]} in-person workshop. %p We appreciate any feedback you have. Please take a moment to complete this = render partial: 'exit_survey_url', locals: {workshop: @workshop, link_text: "short survey"} about your Code...
Exit survey formatting tweak (paragraph instead of line break)
Exit survey formatting tweak (paragraph instead of line break)
Haml
apache-2.0
rvarshney/code-dot-org,pickettd/code-dot-org,dillia23/code-dot-org,rvarshney/code-dot-org,dillia23/code-dot-org,rvarshney/code-dot-org,pickettd/code-dot-org,pickettd/code-dot-org,pickettd/code-dot-org,pickettd/code-dot-org,rvarshney/code-dot-org,pickettd/code-dot-org,dillia23/code-dot-org,rvarshney/code-dot-org,dillia2...
9b2e5a0231e9093e4d45112ef8b080509397dd69
app/views/admin/fabulator/editions/_form.html.haml
app/views/admin/fabulator/editions/_form.html.haml
- form_for [:admin, @fabulator_edition], :html => {:onsubmit_status => onsubmit_status(@fabulator_edition)} do |f| = f.hidden_field :lock_version = render_region :form_top .form_area - render_region :form do |form| - form.edit_title do %p.title = f.label :name = f.text_field ...
- form_for [:admin, @fabulator_edition], :html => {:onsubmit_status => onsubmit_status(@fabulator_edition)} do |f| = f.hidden_field :lock_version = render_region :form_top .form_area - render_region :form do |form| - form.edit_title do %p.title = f.label :name = f.text_field ...
Move download filename to same section as title
Move download filename to same section as title
Haml
mit
jgsmith/radiant-fabulator,jgsmith/radiant-fabulator
4fcdf3e3891b945391b57a22a4d5e6104f43db34
app/views/external_activities/_search_form.html.haml
app/views/external_activities/_search_form.html.haml
/ requires: grade_span, portal_clazz_id, domain_id (next line is a hack, so that portal_clazz_id is defined) - portal_clazz_id ||= nil .action_menu #search_title ="Search #{ExternalActivity.display_name.pluralize}" .progress_container #search_spinner.tiny{:style=>'display: none;'} searching ... ...
/ requires: grade_span, portal_clazz_id, domain_id (next line is a hack, so that portal_clazz_id is defined) - portal_clazz_id ||= nil .action_menu #search_title ="Search #{ExternalActivity.display_name.pluralize}" .progress_container #search_spinner.tiny{:style=>'display: none;'} searching ... ...
Fix form name so that the form observer works.
Fix form name so that the form observer works.
Haml
mit
concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse
ddd806c66f7b1b064243f81e36412ddbe557b8da
app/views/notify/_note_message.html.haml
app/views/notify/_note_message.html.haml
%div "#{link_to @note.author_name, user_url(@note.author)} wrote:" %div = markdown(@note.note, pipeline: :email)
%div = markdown(@note.note, pipeline: :email)
Revert "Make sure notify email always has author info."
Revert "Make sure notify email always has author info." This reverts commit 303f79f8046876c7a461708dee5d1f50f12737bf.
Haml
mit
yatish27/gitlabhq,dwrensha/gitlabhq,cui-liqiang/gitlab-ce,jrjang/gitlabhq,htve/GitlabForChinese,jrjang/gitlab-ce,LUMC/gitlabhq,dwrensha/gitlabhq,koreamic/gitlabhq,larryli/gitlabhq,dplarson/gitlabhq,iiet/iiet-git,daiyu/gitlab-zh,larryli/gitlabhq,darkrasid/gitlabhq,Datacom/gitlabhq,shinexiao/gitlabhq,icedwater/gitlabhq,h...
7faf6e12eacba9e8d10358f72d76168c55db4bf2
app/views/admin/order_cycles/_simple_form.html.haml
app/views/admin/order_cycles/_simple_form.html.haml
= render 'name_and_timing_form', f: f .row .alpha.two.columns = label_tag 'Pickup time' .six.columns = text_field_tag 'order_cycle_outgoing_exchange_0_pickup_time', '', 'id' => 'order_cycle_outgoing_exchange_0_pickup_time', 'placeholder' => 'Ready for (ie. Date / Time)', 'ng-model' => 'outgoing_exchange.pi...
= render 'name_and_timing_form', f: f .row .alpha.two.columns = label_tag 'Ready for' .six.columns = text_field_tag 'order_cycle_outgoing_exchange_0_pickup_time', '', 'id' => 'order_cycle_outgoing_exchange_0_pickup_time', 'placeholder' => 'Date / time', 'ng-model' => 'outgoing_exchange.pickup_time', 'size'...
Clean up simple order cycle interface
Clean up simple order cycle interface
Haml
agpl-3.0
ecocitycore/openfoodnetwork,openfoodfoundation/openfoodnetwork,lin-d-hop/openfoodnetwork,ltrls/openfoodnetwork,oeoeaio/openfoodnetwork,levent/openfoodnetwork,levent/openfoodnetwork,levent/openfoodnetwork,oeoeaio/openfoodnetwork,KateDavis/openfoodnetwork,Em-AK/openfoodnetwork,folklabs/openfoodnetwork,ecocitycore/openfoo...
9b9a0a5c61c50113ac95b41fd4b4aa812ac3d73e
app/views/portal/reports/_container_heading.haml
app/views/portal/reports/_container_heading.haml
/ locals: indent, map, show_selection_controls, offering, learners %div{:style => "padding-left: #{indent}px;"} - map.keys.sort_by{|container| container.position}.each do |container| %div{:id => dom_id_for(container)} %div %span{:style => 'font-weight: bold;'}= container.class.to_s - if show...
/ locals: indent, map, show_selection_controls, offering, learners %div{:style => "padding-left: #{indent}px;"} - map.keys.sort_by{|container| container.position}.each do |container| %div{:id => dom_id_for(container)} %div %span{:style => 'font-weight: bold;'}= container.class.to_s - if show...
Hide All and None links for activity report
Hide All and None links for activity report - Hide All and None links for activity level report
Haml
mit
concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse
38bd282b381dbc840f18947fe4481a409473c26f
app/views/navigation/_mobile.haml
app/views/navigation/_mobile.haml
= render 'navigation/mobile/profile' %nav.navbar.navbar-themed.bg-primary.fixed-bottom.d-lg-none.d-block#rs-mobile-nav{ role: :navigation } .container{ class: ios_web_app? ? 'ios-web-app' : '' } %ul.nav.navbar-nav.navbar-icon-row = nav_entry t('views.navigation.timeline'), root_path, icon: 'home', icon_only...
= render 'navigation/mobile/profile' :ruby notification_count = Notification.for(current_user).where(new: true).count notification_count = nil if notification_count.zero? notifications_icon = notification_count.nil? ? 'bell-o' : 'bell' %nav.navbar.navbar-themed.bg-primary.fixed-bottom.d-lg-none.d-block#rs-mobile-...
Make notification icon show notification count badge
Make notification icon show notification count badge
Haml
agpl-3.0
Retrospring/retrospring,Retrospring/retrospring,Retrospring/retrospring,Retrospring/retrospring,Retrospring/retrospring
4cd9418b56ff0afa97271266aa5164057d25bfbd
app/views/posts/_new_comment.haml
app/views/posts/_new_comment.haml
#new_comment - if flash[:comment_errors] .flash .error= flash[:comment_errors] - form_for :comment, Comment.new, :url => comments_path(@post) do |f| .user_name %label{:for => 'user_name'} Name = text_field_tag 'user[name]', h(current_user.name), :id => 'user_name' .user_email %la...
#new_comment - if flash[:comment_errors] .flash .error= flash[:comment_errors] - form_for :comment, Comment.new, :url => comments_path(@post) do |f| %fieldset .user_name %label{:for => 'user_name'} Name = text_field_tag 'user[name]', h(current_user.name), :id => 'user_name' ...
Fix a markup invalidity in the new comment form.
Fix a markup invalidity in the new comment form.
Haml
mit
nex3/nex3-s-blog-engine,nex3/nex3-s-blog-engine
9e9ace96b96e1fa8e59310d7f85f669df7c6e279
app/views/template_repos/_template_repo.html.haml
app/views/template_repos/_template_repo.html.haml
%li .repo-info =link_to template_repo.uri, template_repo.uri %span.count %label Templates: = template_repo.template_count %span.updated %label Last Refreshed: = DateTime.parse(template_repo.updated_at).strftime("%m/%d/%Y %H:%M:%S UTC") .actions = link_to 'Refresh Source', ...
%li .repo-info =link_to template_repo.uri, template_repo.uri %span.count %label Templates: = template_repo.template_count %span.updated %label Last Refreshed: = l(Time.zone.parse(template_repo.updated_at), format: :informal) .actions = link_to 'Refresh Source', ...
Use informal time in template_repo date presentation.
Use informal time in template_repo date presentation.
Haml
apache-2.0
rlesouef/panamax-ui,TravisCannon/panamax-ui,w4ngyi/panamax-ui,fic2/panamax-ui,rheinwein/panamax-ui,patocox/panamax-ui,rheinwein/panamax-ui,AlphaStaxLLC/panamax-ui,CenturyLinkLabs/panamax-ui,fic2/panamax-ui,ngtuna/panamax-ui,rheinwein/panamax-ui,AlphaStaxLLC/panamax-ui,AlphaStaxLLC/panamax-ui,TravisCannon/panamax-ui,pat...
a1b335d156958911ee1672509319ade7e51d315b
app/views/users/private_message_threads/new.html.haml
app/views/users/private_message_threads/new.html.haml
%section.new-thread = t '.message_for_html', other: link_to_profile(@user) = semantic_form_for @thread, as: :thread, url: {action: :create}, html: {class: 'guided'} do |f| = f.semantic_errors = f.inputs do = f.input :title, input_html: {autofocus: true} = semantic_fields_for @message do |f2| ...
%section.new-thread %header %h1= t '.message_for_html', other: link_to_profile(@user) = semantic_form_for @thread, as: :thread, url: {action: :create}, html: {class: 'guided'} do |f| = f.semantic_errors = f.inputs do = f.input :title, input_html: {autofocus: true} = semantic_fields_for @mess...
Use a header for new private messages.
Use a header for new private messages.
Haml
mit
cyclestreets/cyclescape,cyclestreets/cyclescape,cyclestreets/cyclescape
b35f743b7595b4cb771b1d2e44d3ea2b6fbf20bf
app/views/recent_changes/_table.html.haml
app/views/recent_changes/_table.html.haml
%table.zebra-striped %tbody - @versions.each do |version| - user = nil - if version.whodunnit - begin - user = User.find(version.whodunnit) - rescue %tr %td= version.created_at.to_s(:long) - if user and user.person %td= image_box user.person.av...
%table.zebra-striped %tbody - @versions.each do |version| - user = nil - if version.whodunnit - begin - user = User.find(version.whodunnit) - rescue %tr %td= version.created_at.to_s(:long) - if user and user.person %td= image_box user.person.av...
Use default avatar for deleted persons
Use default avatar for deleted persons
Haml
mit
gregmolnar/frab,afics/frab,henryk/frab,henryk/frab,stapelberg/frab,devfest-berlin/frab,fossgis/frab,devfest-berlin/frab,afics/frab,henryk/frab,fossgis/frab,cketti/frab,cketti/frab,afics/frab,stapelberg/frab,gregmolnar/frab,cketti/frab,devfest-berlin/frab,stapelberg/frab,fossgis/frab,fossgis/frab
2c8615108844ff6177e415ff28086835856c0390
app/views/charge_booking_templates/_charge_booking_template.html.haml
app/views/charge_booking_templates/_charge_booking_template.html.haml
- item_action ||= lambda{|object| url_for(object)} %tr[charge_booking_template] %td = link_to "%s (%s)" % [charge_booking_template.title, charge_booking_template.code], item_action.call(charge_booking_template) - if charge_booking_template.comments.present? %hr{:style => "height: 1px; margin: 0"}/ ...
- item_action ||= lambda{|object| url_for(object)} %tr[charge_booking_template] %td = link_to "%s (%s)" % [charge_booking_template.title, charge_booking_template.code], item_action.call(charge_booking_template) - if charge_booking_template.comments.present? %hr{:style => "height: 1px; margin: 0"}/ ...
Support AJAX deletion for charge booking templates.
Support AJAX deletion for charge booking templates.
Haml
agpl-3.0
xuewenfei/bookyt,gaapt/bookyt,hauledev/bookyt,hauledev/bookyt,silvermind/bookyt,xuewenfei/bookyt,hauledev/bookyt,gaapt/bookyt,huerlisi/bookyt,wtag/bookyt,huerlisi/bookyt,huerlisi/bookyt,silvermind/bookyt,gaapt/bookyt,gaapt/bookyt,silvermind/bookyt,hauledev/bookyt,silvermind/bookyt,wtag/bookyt,xuewenfei/bookyt,wtag/book...
60c3557c2de24ac3ba520964f24516a8f9f494bf
app/views/checkout/_form.html.haml
app/views/checkout/_form.html.haml
- content_for :injection_data do = inject_available_shipping_methods = inject_available_payment_methods = inject_saved_credit_cards = form_for current_order, html: {name: "checkout", id: "checkout_form", novalidate: true, "ng-submit" => "purchase($event, checkout)"} do |f| = render "checkout/det...
- content_for :injection_data do = inject_available_shipping_methods = inject_available_payment_methods = inject_saved_credit_cards = form_for current_order, url: spree_order_path(current_order), html: {name: "checkout", id: "checkout_form", novalidate: true, "ng-submit" => "purchase($event, chec...
Fix checkout form order path
Fix checkout form order path
Haml
agpl-3.0
openfoodfoundation/openfoodnetwork,mkllnk/openfoodnetwork,lin-d-hop/openfoodnetwork,Matt-Yorkley/openfoodnetwork,lin-d-hop/openfoodnetwork,mkllnk/openfoodnetwork,Matt-Yorkley/openfoodnetwork,mkllnk/openfoodnetwork,openfoodfoundation/openfoodnetwork,openfoodfoundation/openfoodnetwork,openfoodfoundation/openfoodnetwork,l...
55dca5465de18aa29a8ce5c17e6f0b0d77ef8b7f
app/views/projects/empty.html.haml
app/views/projects/empty.html.haml
= render 'clone_panel' - if @project.import? && !@project.imported .save-project-loader %center = image_tag "ajax_loader.gif" %h3 Importing repository. %p.monospace git clone --bare #{@project.import_url} %p Please wait until we import repository for you. Refresh at will. :javascrip...
= render 'clone_panel' - if @project.import? && !@project.imported .save-project-loader %center = image_tag "ajax_loader.gif" %h3 Importing repository. %p.monospace git clone --bare #{@project.import_url} %p Please wait while we import the repository for you. Refresh at will. :javas...
Improve the repository import message
Improve the repository import message
Haml
mit
inetfuture/gitlab-tweak,inetfuture/gitlab-tweak,inetfuture/gitlab-tweak
f523c3c6856ea3cee883579dfe5a9ad63274fd89
app/views/projects/network/_head.html.haml
app/views/projects/network/_head.html.haml
.append-bottom-20 = render partial: 'shared/ref_switcher', locals: {destination: 'graph'} .pull-right.visible-lg.light You can move around the graph by using the arrow keys.
.gray-content-block.top-block.append-bottom-default .tree-ref-holder = render partial: 'shared/ref_switcher', locals: {destination: 'graph'} .oneline You can move around the graph by using the arrow keys.
Use gray content block for network graph header
Use gray content block for network graph header
Haml
mit
LUMC/gitlabhq,dreampet/gitlab,ttasanen/gitlabhq,icedwater/gitlabhq,htve/GitlabForChinese,yatish27/gitlabhq,duduribeiro/gitlabhq,martijnvermaat/gitlabhq,jrjang/gitlabhq,t-zuehlsdorff/gitlabhq,LUMC/gitlabhq,louahola/gitlabhq,shinexiao/gitlabhq,htve/GitlabForChinese,dplarson/gitlabhq,dplarson/gitlabhq,martijnvermaat/gitla...
17d0afd6c06698287e24c18e8e79d39a1fd0231a
app/views/pitches/_pitch.html.haml
app/views/pitches/_pitch.html.haml
- div_for(pitch) do .block-spacer-negative .box_white #equalize = render :partial => 'news_items/news_item', :object => pitch .span-235.button_news_items = render :partial => "donations/button", :locals => { :news_item => pitch } .clear
- div_for(pitch) do .block-spacer-negative .box_white #equalize = render :partial => 'news_items/news_item', :object => pitch .span-205.button_news_items = render :partial => "donations/button", :locals => { :news_item => pitch } .clear
Fix styling for pitch partial
Fix styling for pitch partial
Haml
agpl-3.0
spot-us/spot-us,spot-us/spot-us,spot-us/spot-us,spot-us/spot-us,spot-us/spot-us,spot-us/spot-us
65e77edd1f9e7baaa8b79f9781ed2181315c0cce
app/views/shared/_assets.html.haml
app/views/shared/_assets.html.haml
= stylesheet_link_tag 'http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700|Open+Sans:300italic,400,300,700' = stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true = javascript_include_tag 'application', 'data-turbolinks-track' => true
= stylesheet_link_tag 'https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700|Open+Sans:300italic,400,300,700' = stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true = javascript_include_tag 'application', 'data-turbolinks-track' => true
Fix http to https in a link
Fix http to https in a link
Haml
mit
kostyadubinin/board_games,kostyadubinin/board_games
0bf790f2551806080b20be0efdc5d20c867c56be
spec/dummy/app/views/layouts/mweb_events/application.html.haml
spec/dummy/app/views/layouts/mweb_events/application.html.haml
!!! %html %head %title MwebEvents = stylesheet_link_tag "application", :media => "all" = stylesheet_link_tag "bootstrap_and_overrides", :media => "all" = javascript_include_tag "application" = javascript_include_tag "twitter/bootstrap" = csrf_meta_tags %body{:class => "#{controller_...
!!! %html %head %title MwebEvents = stylesheet_link_tag "application", :media => "all" = stylesheet_link_tag "bootstrap_and_overrides", :media => "all" = javascript_include_tag "application" = javascript_include_tag "twitter/bootstrap" = csrf_meta_tags %body{:class => "#{controller_...
Correct layout for dummy application
Correct layout for dummy application
Haml
mit
mconf/mweb_events,mconf/mweb_events,mconf/mweb_events
7f20ba640ca904d59f6de12546262a5dbf22101f
app/views/fluentd/settings/histories/_list.html.haml
app/views/fluentd/settings/histories/_list.html.haml
%table.table.table-hover.table-bordered %tbody %tr %th= t('terms.backup_file') %th= t('terms.backup_time') %th= t('terms.note') - @backup_files.each do |file| %tr %td= link_to(file.name, daemon_setting_history_path(id: file.file_id)) %td= file.ctime.strftime t('time.formats.def...
%table.table.table-hover.table-bordered %tbody %tr %th= t('terms.backup_file') %th= t('terms.backup_time') %th= t('terms.note') - @backup_files.each do |file| %tr %td= link_to(file.name, daemon_setting_history_path(id: file.file_id)) %td= file.ctime.strftime t('time.formats.def...
Set proper class for submit button.
Set proper class for submit button.
Haml
apache-2.0
fluent/fluentd-ui,mt0803/fluentd-ui,mt0803/fluentd-ui,fluent/fluentd-ui,mt0803/fluentd-ui,fluent/fluentd-ui
705260850ac2536ff33a45ae8437b5d0e550f06f
trisano/webapp/app/views/events/places/_name_form.html.haml
trisano/webapp/app/views/events/places/_name_form.html.haml
%fieldset.form %legend Place Name -f.fields_for(:place, :builder => ExtendedFormBuilder) do |p| = error_messages_for :object => p.object -core_element :name, p, :horiz do =p.label(:name) =h(p.object.name) -core_element :place_type_ids, p, :horiz do =p.label(:place_type_ids, 'Types') ...
-# Copyright (C) 2007, 2008, 2009 The Collaborative Software Foundation -# -# This file is part of TriSano. -# -# TriSano is free software: you can redistribute it and/or modify it under the -# terms of the GNU Affero General Public License as published by the -# Free Software Foundation, either version 3 of the Licens...
Fix to get fb_place_core_field_configs_selspec-03.rb passing.
Fix to get fb_place_core_field_configs_selspec-03.rb passing. git-svn-id: 105a8f2fe5eb3dca76b21e204c69f6587dfa9961@2553 b21a84b9-e453-0410-92a3-c4f515f7ae45
Haml
agpl-3.0
JayBoyer/new-trisano,JayBoyer/new-trisano,JayBoyer/new-trisano,JayBoyer/new-trisano,JayBoyer/new-trisano,JayBoyer/new-trisano,JayBoyer/new-trisano
ab2f0366a6cd36510659619137148ab4b9acf761
app/views/layouts/_navbar.html.haml
app/views/layouts/_navbar.html.haml
%nav .container .brand .p= t('brand') = link_to t('nav.home'), root_path = link_to t('nav.about'), about_path = link_to t('nav.blog'), articles_path - if authenticated? = link_to t('nav.logout'), logout_path, method: :delete - else = link_to t('nav.login'), login_path
%nav .container .brand .p= t('brand') = link_to t('nav.home'), root_path = link_to t('nav.about'), about_path = link_to t('nav.blog'), articles_path - if authenticated? = link_to t('nav.logout'), logout_path, method: :delete
Remove login link from navbar
Remove login link from navbar
Haml
mit
ralinc/ralin.net,ralinc/ralin.net,ralinc/ralin.net
c892f9c69b17fa94898951956c9d2d84b3fd643c
app/views/spree/orders/form/_update_buttons.html.haml
app/views/spree/orders/form/_update_buttons.html.haml
.row .columns.small-12.medium-3 - if current_order.nil? || current_order.distributor.nil? || current_order.distributor == @order.distributor - if current_order&.line_items.present? = link_to main_app.cart_path, :class => "button expand" do = t(:order_back_to_cart) - else = li...
.row .columns.small-12.medium-3 - if current_order.nil? || current_order.distributor.nil? || current_order.distributor == @order.distributor - if current_order&.line_items.present? = link_to main_app.cart_path, :class => "button expand" do = t(:order_back_to_cart) - else = li...
Make button border radius consistent
Make button border radius consistent
Haml
agpl-3.0
lin-d-hop/openfoodnetwork,Matt-Yorkley/openfoodnetwork,Matt-Yorkley/openfoodnetwork,lin-d-hop/openfoodnetwork,Matt-Yorkley/openfoodnetwork,openfoodfoundation/openfoodnetwork,openfoodfoundation/openfoodnetwork,Matt-Yorkley/openfoodnetwork,openfoodfoundation/openfoodnetwork,mkllnk/openfoodnetwork,mkllnk/openfoodnetwork,l...
9ad4aabbc51e871b5d29bec752d8a09a09b78275
www/public/_error.haml
www/public/_error.haml
-# HTTP error response Haml markup for Damien Dart's personal website. -# -# Copyright (C) 2013-2015 Damien Dart, <damiendart@pobox.com>. -# This file is distributed under the MIT licence. For more information, -# please refer to the accompanying "LICENCE" file. !!! 5 %html{:lang => "en"} %head %meta{:charset =>...
-# HTTP error response Haml markup for Damien Dart's personal website. -# -# Copyright (C) 2013-2015 Damien Dart, <damiendart@pobox.com>. -# This file is distributed under the MIT licence. For more information, -# please refer to the accompanying "LICENCE" file. !!! 5 %html{:lang => "en"} %head %meta{:charset =>...
Remove Typekit stuff from HTTP error responses.
Remove Typekit stuff from HTTP error responses.
Haml
mit
damiendart/robotinaponcho,damiendart/robotinaponcho,damiendart/robotinaponcho
0b3e293b3807e96d97de8c2eb921d5dd191c0fb4
app/views/spree/admin/overview/single_enterprise_dashboard.html.haml
app/views/spree/admin/overview/single_enterprise_dashboard.html.haml
- content_for :page_title do %h1 = @enterprise.name %span.small ( = enterprise_type_name(@enterprise) ) - content_for :page_actions do :javascript function toggleType(){ $("#type_selection").slideToggle() } #type_button %button#toggle_type{ onClick: 'toggleType()' } Ch...
- content_for :page_title do %h1 = @enterprise.name %span.small< = "(#{enterprise_type_name(@enterprise)})" - content_for :page_actions do :javascript function toggleType(){ $("#type_selection").slideToggle() } #type_button %button#toggle_type{ onClick: 'toggleType()' } Change typ...
Remove whitespace, add alert box
Remove whitespace, add alert box
Haml
agpl-3.0
levent/openfoodnetwork,oeoeaio/openfoodnetwork,Em-AK/openfoodnetwork,oeoeaio/openfoodnetwork,levent/openfoodnetwork,MikeiLL/openfoodnetwork,ltrls/openfoodnetwork,MikeiLL/openfoodnetwork,KosenkoDmitriy/openfoodnetwork,Matt-Yorkley/openfoodnetwork,lin-d-hop/openfoodnetwork,KateDavis/openfoodnetwork,ecocitycore/openfoodne...
5676d12c693c9c92ab00a65d26a521af8920c80c
app/views/fixed_pages/show.html.haml
app/views/fixed_pages/show.html.haml
- set_meta_tags title: @fixed_page.title %article = raw render_markdown(@fixed_page.body) = link_to 'Back', root_path
- set_meta_tags title: @fixed_page.title %article = raw render_markdown(@fixed_page.body)
Remove unnecessary back link from fixed page
Remove unnecessary back link from fixed page
Haml
mit
bm-sms/daimon-news,bm-sms/daimon-news,bm-sms/daimon-news
4451313cf5cd964d25bc73fe1ac296c577be5d51
app/views/backend/journal_entries/_form.html.haml
app/views/backend/journal_entries/_form.html.haml
= field_set do = hidden_field_tag :journal_id, (resource.new_record? ? params[:journal_id] : resource.journal_id) -# = f.referenced_association :journal, readonly: true, input_html: {data: {dependents: "#items-form"}} = f.input :number = f.input :printed_on, input_html: {data: {dependents: "#items-form", parame...
= field_set do = hidden_field_tag :journal_id, (resource.new_record? ? params[:journal_id] : resource.journal_id) -# = f.referenced_association :journal, readonly: true, input_html: {data: {dependents: "#items-form"}} = f.input :number = f.input :printed_on, input_html: {data: {dependents: "#items-form", parame...
Remove nested nested_fields in journal entries form
Remove nested nested_fields in journal entries form
Haml
agpl-3.0
ekylibre/ekylibre,ekylibre/ekylibre,ekylibre/ekylibre,ekylibre/ekylibre,ekylibre/ekylibre
325b95585d28636202c6baf51312a47f9bcdaa36
app/views/deferred/confirmations/show.html.haml
app/views/deferred/confirmations/show.html.haml
.Grid .Grid-2-3 %header %h1 Thank you %p A confirmation email has been sent to the visitor. - if Date.today < Date.parse('2015-01-30') #latest-change.notice %h1 Staff update: letting visitors know about closed visits %p You can now let visitors know if they'll be attending ...
.Grid .Grid-2-3 %header %h1 Thank you %p A confirmation email has been sent to the visitor. - if Date.today < Date.parse('2015-03-25') #latest-change.notice %h1 Staff update: visits on Easter Bank Holiday %p Please notify us now if your social visits slots will change due ...
Add staff alert for Easter bank holiday
Add staff alert for Easter bank holiday
Haml
mit
ministryofjustice/prison-visits,ministryofjustice/prison-visits,matharden/prison-visits,matharden/prison-visits,ministryofjustice/prison-visits,matharden/prison-visits
d3d64a4512566015d4ee523cddef4f393c194b45
app/views/users/_groups.html.haml
app/views/users/_groups.html.haml
.clearfix - groups.each do |group| = link_to group, class: 'profile-groups-avatars', title: group.name do = image_tag group_icon(group.path), class: 'avatar s40'
.clearfix - groups.each do |group| = link_to group, class: 'profile-groups-avatars', title: group.name do = image_tag group_icon(group.path), class: 'avatar avatar-inline s40'
Fix tooltip for groups on user page
Fix tooltip for groups on user page
Haml
mit
aaronsnyder/gitlabhq,hzy001/gitlabhq,Razer6/gitlabhq,mrb/gitlabhq,aaronsnyder/gitlabhq,ferdinandrosario/gitlabhq,ordiychen/gitlabhq,mathstuf/gitlabhq,mrb/gitlabhq,Telekom-PD/gitlabhq,jrjang/gitlabhq,kitech/gitlabhq,Datacom/gitlabhq,gorgee/gitlabhq,OlegGirko/gitlab-ce,williamherry/gitlabhq,allysonbarros/gitlabhq,Devin00...
31d43e34589aaf77512203a8f9278476e3d46436
app/views/shared/issuable/_user_dropdown_item.html.haml
app/views/shared/issuable/_user_dropdown_item.html.haml
- user = local_assigns.fetch(:user) - avatar = local_assigns.fetch(:avatar, { }) %li.filter-dropdown-item{ class: ('js-current-user' if user == current_user) } %button.btn.btn-link.dropdown-user{ type: :button } .avatar-container.s40 = user_avatar_without_link(user: user, lazy: avatar[:lazy], url: avatar[:...
- user = local_assigns.fetch(:user) - avatar = local_assigns.fetch(:avatar, { }) %li.filter-dropdown-item{ class: ('js-current-user' if user == current_user) } %button.btn.btn-link.dropdown-user{ type: :button } .avatar-container.s40 = user_avatar_without_link(user: user, lazy: avatar[:lazy], url: avatar[:...
Remove unnecessary use of `gsub`
Remove unnecessary use of `gsub`
Haml
mit
dreampet/gitlab,stoplightio/gitlabhq,axilleas/gitlabhq,jirutka/gitlabhq,axilleas/gitlabhq,dreampet/gitlab,dreampet/gitlab,jirutka/gitlabhq,jirutka/gitlabhq,iiet/iiet-git,axilleas/gitlabhq,iiet/iiet-git,axilleas/gitlabhq,stoplightio/gitlabhq,stoplightio/gitlabhq,dreampet/gitlab,mmkassem/gitlabhq,mmkassem/gitlabhq,mmkass...
db78cff2094c18961cb2d88162cef49ce93640e1
views/layouts/_footer.haml
views/layouts/_footer.haml
%hr %ul %li %a{ href: "/cookies" } Om cookies %li = AppMetadata.release_version != surround "(", ")" do %a{ href: "https://github.com/Starkast/wikimum/commit/#{AppMetadata.commit}" }= AppMetadata.short_commit
%hr %ul %li %a{ href: "/cookies" } Om cookies %li = AppMetadata.release_version != surround "(", ")" do %a{ href: "https://github.com/Starkast/wikimum/commit/#{AppMetadata.commit}" }= AppMetadata.short_commit %li %img{ src: "/favicon.ico", alt: "Starkast" }
Add the man to the footer
Add the man to the footer
Haml
mit
Starkast/wikimum,Starkast/wikimum
0156151d752f4b6f98fcdb43f6f4ae3f12794586
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 .form.form--inline.split-item .split-cell.split-cell--fluid.prm = form_tag articles_path, method: :get, remote: true do = search_field...
%main.row .cell.well.well--l - if user_signed_in? .g %main.g-b.g-b--m--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_fi...
Apply responsive grid classes to Article index
Apply responsive grid classes to Article index
Haml
mit
orientation/orientation,codeschool/orientation,liufffan/orientation,ferdinandrosario/orientation,orientation/orientation,hashrocket/orientation,hashrocket/orientation,codio/orientation,smashingboxes/orientation,twinn/orientation,ferdinandrosario/orientation,liufffan/orientation,cmckni3/orientation,IZEA/orientation,Scri...
37f8f606fe059eb634724a7d7ac21a6ae91c17f3
app/views/layouts/_flash.html.haml
app/views/layouts/_flash.html.haml
- if flash.any? .row .large-10.large-centered.columns - flash.each do |name, msg| %div{ data: {alert: ""}, class: "alert-box radius #{name == :notice ? "success" : "alert"}" } = msg %a{href: "#", class: "close"} &times;
- if flash.any? .row .large-12.large-centered.columns - flash.each do |name, msg| %div{ data: {alert: ""}, class: "alert-box radius #{name == :notice ? "success" : "alert"}" } = msg %a{href: "#", class: "close"} &times;
Make flash message span 12 columns.
Make flash message span 12 columns.
Haml
mit
DavidNix/landertastic,DavidNix/landertastic
facc928f7ca6e10a68e0a9c2a735e28e97b0aa50
app/views/poll_mailer/ranked_choice/_chart.html.haml
app/views/poll_mailer/ranked_choice/_chart.html.haml
%h3= t('poll_mailer.common.results') %table{style: "width: 100%"} %thead %th %th - (1..@info.poll.minimum_stance_choices).each do |score| %th.align-right= t(:"ordinal._#{score}") %th.align-right= t(:"common.total") - @info.poll_options.sort_by(&:total_score).reverse.each_with_index do |poll_op...
%h3= t('poll_mailer.common.results') %table{style: "width: 100%"} %thead %th %th - (1..@info.poll.minimum_stance_choices).each do |score| %th.align-right= t(:"ordinal._#{score}") %th.align-right= t(:"common.total") - @info.poll_options.sort_by(&:total_score).reverse.each do |poll_option| %...
Fix ranked choice vote order
Fix ranked choice vote order
Haml
agpl-3.0
loomio/loomio,piratas-ar/loomio,piratas-ar/loomio,loomio/loomio,piratas-ar/loomio,loomio/loomio,piratas-ar/loomio,loomio/loomio