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 |
|---|---|---|---|---|---|---|---|---|---|
5f67a85e6080c9527c0ad0cbc62a5af84ecf1eb7 | app/views/projects/commits/_head.html.haml | app/views/projects/commits/_head.html.haml | %ul.nav.nav-tabs
%li= render partial: 'shared/ref_switcher', locals: {destination: 'commits'}
= nav_link(controller: [:commit, :commits]) do
= link_to 'Commits', project_commits_path(@project, @repository.root_ref)
= nav_link(controller: :compare) do
= link_to 'Compare', project_compare_index_path(@proje... | %ul.nav.nav-tabs
%li= render partial: 'shared/ref_switcher', locals: {destination: 'commits'}
= nav_link(controller: [:commit, :commits]) do
= link_to 'Commits', project_commits_path(@project, @repository.root_ref)
= nav_link(controller: :compare) do
= link_to 'Compare', project_compare_index_path(@proje... | Add default values to compare page link | Add default values to compare page link
| Haml | mit | inetfuture/gitlab-tweak,inetfuture/gitlab-tweak,inetfuture/gitlab-tweak |
b65356428270bd3063af1a632b1fdaab2550e718 | app/views/home/_past_years.haml | app/views/home/_past_years.haml | - content_for :before_footer do
.content.past-years
%p
- if @year.year == @years.last
Previous
- else
Other
Years:
= link_to 2006, "http://www.trianglegoclub.org/gocongress06"
// 2007 - Was on old.usgo.org, no longer exists
// 2008 - Not sure, we never ha... | - content_for :before_footer do
.content.past-years
%p
- if @year.year == @years.last
Previous
- else
Other
Years:
= link_to 2006, "http://www.trianglegoclub.org/gocongress06"
// 2007 - Was on old.usgo.org, no longer exists
// 2008 - Not sure, we never ha... | Remove current year from list of other years | Remove current year from list of other years
The user is already viewing the current year; we don't want to display
it as a link.
| Haml | mit | usgo/gocongress,usgo/gocongress,usgo/gocongress,usgo/gocongress |
b59e6d5924e9e4e8436d272ac1fb4e5faf373a18 | app/views/backend/outgoing_payment_lists/_purchase_affair.html.haml | app/views/backend/outgoing_payment_lists/_purchase_affair.html.haml | :ruby
purchases = purchase_affair.purchases
%tr{data: { outgoing_payment_purchase_affair: purchase_affair.id} }
= hidden_field_tag 'purchase_affairs[]', nil, data: { outgoing_payment_purchase_affair_selection: true }
%td= check_box_tag :check, '1', false, data: { outgoing_payment_purchase_affair_selector: true, ... | :ruby
purchases = purchase_affair.purchase_invoices
%tr{data: { outgoing_payment_purchase_affair: purchase_affair.id} }
= hidden_field_tag 'purchase_affairs[]', nil, data: { outgoing_payment_purchase_affair_selection: true }
%td= check_box_tag :check, '1', false, data: { outgoing_payment_purchase_affair_selector... | Fix new action on outgoing_payment_list (really this time) | Fix new action on outgoing_payment_list (really this time)
| Haml | agpl-3.0 | ekylibre/ekylibre,ekylibre/ekylibre,ekylibre/ekylibre,ekylibre/ekylibre,ekylibre/ekylibre |
e384c90f7538af350f543a7b1a42b7b2c29e9279 | app/views/articles/index.html.haml | app/views/articles/index.html.haml | - if current_user
.main
%h1 Articles
.search-bar
= form_tag articles_path, method: :get, remote: true do
= text_field_tag :search, params[:search], placeholder: "Search articles by keyword"
= submit_tag "Search", class: "btn-a"
%ul.article-list
= render @articles
%aside.cat... | - if user_signed_in?
.main
%h1 Articles
.search-bar
= form_tag articles_path, method: :get, remote: true do
= text_field_tag :search, params[:search], placeholder: "Search articles by keyword"
= submit_tag "Search", class: "btn-a"
%ul.article-list
= render @articles
%aside.... | Use the proper Devise helper method | Use the proper Devise helper method | Haml | mit | splicers/orientation,jefmathiot/orientation,splicers/orientation,LogicalBricks/orientation,Scripted/orientation,hashrocket/orientation,cmckni3/orientation,liufffan/orientation,orientation/orientation,IZEA/orientation,codio/orientation,hashrocket/orientation,twinn/orientation,ferdinandrosario/orientation,orientation/ori... |
8c847f076c69b5ad85347b522de1c65c578b5195 | app/views/bookings/_form.html.haml | app/views/bookings/_form.html.haml | = simple_form_for @booking do |f|
.row-fluid
.span6
= f.input :title, :input_html => {"data-autofocus" => true}
.span6
= f.input :value_date, :as => :date_field
.row-fluid
.span6
= f.input :amount, :as => :string, :input_html => {:size => 12}
.span6
= f.input :code
.row-fl... | = simple_form_for @booking do |f|
.row-fluid
.span6
= f.input :title, :input_html => {"data-autofocus" => true}
.span6
= f.input :value_date, :as => :date_field
.row-fluid
.span6
= f.input :amount, :as => :string
.span6
= f.input :code
.row-fluid
.span6
= f.assoc... | Drop size attribute from bookings.amount form field. | Drop size attribute from bookings.amount form field.
| Haml | mit | hauledev/has_account_engine,huerlisi/has_accounts_engine,huerlisi/has_accounts_engine,hauledev/has_account_engine,huerlisi/has_accounts_engine,hauledev/has_account_engine |
0b66963a973e62a81bec8ae9d9901ff1bfa9ea85 | app/views/layouts/application.html.haml | app/views/layouts/application.html.haml | %html
%head
%title= yield(:title) + t(:app_name)
%meta{"content" => "text/html;charset=UTF-8", "http-equiv" => "content-type"}
%link{:rel => "shortcut icon", :href => "/favicon.ico"}
= stylesheet_link_tag 'screen.css', :media => 'screen, projection'
= csrf_meta_tag
= yield :head
%body
.n... | %html
%head
%title= yield(:title) + t(:app_name)
%meta{"content" => "text/html;charset=UTF-8", "http-equiv" => "content-type"}
%meta{ name: "viewport" content: "width=device-width, initial-scale=1.0" }
%link{:rel => "shortcut icon", :href => "/favicon.ico"}
= stylesheet_link_tag 'screen.css', :med... | Add viewport meta for responsive bootstrap | Add viewport meta for responsive bootstrap
| Haml | mit | isotope11/xrono,isotope11/xrono,isotope11/xrono |
343b844ab490a9e0b0cd248224a077fbbdc99f09 | app/views/projects/_last_push.html.haml | app/views/projects/_last_push.html.haml | - event = last_push_event
- if event && show_last_push_widget?(event)
.row-content-block.top-block.hidden-xs.white
.event-last-push
.event-last-push-text
%span You pushed to
= link_to namespace_project_commits_path(event.project.namespace, event.project, event.ref_name), class: 'ref-name' do... | - event = last_push_event
- if event && show_last_push_widget?(event)
.row-content-block.top-block.hidden-xs.white
.event-last-push
.event-last-push-text
%span You pushed to
%strong
= link_to event.ref_name, namespace_project_commits_path(event.project.namespace, event.project, eve... | Kill copy button with 🔥 | Kill copy button with 🔥
| Haml | mit | jirutka/gitlabhq,mmkassem/gitlabhq,t-zuehlsdorff/gitlabhq,mmkassem/gitlabhq,t-zuehlsdorff/gitlabhq,iiet/iiet-git,dplarson/gitlabhq,axilleas/gitlabhq,dplarson/gitlabhq,dreampet/gitlab,dplarson/gitlabhq,axilleas/gitlabhq,jirutka/gitlabhq,dreampet/gitlab,stoplightio/gitlabhq,mmkassem/gitlabhq,stoplightio/gitlabhq,t-zuehls... |
ad0eb01827ae2d2bf60ba2ffb74bb70b2743d41a | app/views/deploy_keys/index.html.haml | app/views/deploy_keys/index.html.haml | = render "projects/settings_nav"
%p.slead
Deploy keys allow read-only access to repository. They can be used for CI, staging or production servers
%p
You can create a deploy key or add existing one
= link_to new_project_deploy_key_path(@project), class: "btn btn-primary pull-right", title: "New Deploy Key" do
... | = render "projects/settings_nav"
%p.slead
Deploy keys allow read-only access to repository. They can be used for CI, staging or production servers
%p
You can create a deploy key or add existing one
= link_to new_project_deploy_key_path(@project), class: "btn btn-primary pull-right", title: "New Deploy Key" do
... | Improve accuracy of deploy key message. | Improve accuracy of deploy key message.
| Haml | mit | inetfuture/gitlab-tweak,inetfuture/gitlab-tweak,inetfuture/gitlab-tweak |
a67919e651fdc93c01ff688d0bf650a636914d17 | app/views/items/_items.html.haml | app/views/items/_items.html.haml | - if @items.empty? || is_last_page?(@items)
:javascript
last_page = true;
- if @items.empty?
%li.no_results No results found.
- elsif is_last_page?(@items)
%li.book
.last_page_message End of results.
- else
= render partial: 'item', collection: @items | - if @items.empty? || is_last_page?(@items)
:javascript
last_page = true;
- if @items.empty?
%li.no_results No results found.
- else
= render partial: 'item', collection: @items
- if is_last_page?(@items)
%li.book
.last_page_message End of results. | Fix search when there is only 1 page of results | Fix search when there is only 1 page of results
| Haml | mit | bloopletech/mangar,bloopletech/mangar,bloopletech/mangar,bloopletech/mangar |
8fc5de7cf6e0ff53bc4180ae2716093b3697666b | app/views/project_files/_build_commands_documentation.html.haml | app/views/project_files/_build_commands_documentation.html.haml | %p
In this file you can put any commands needed before your test suite is run.
It is a bash script and it will run in an Ubuntu 15.10 system. If you find that
a needed package is missing you can use "apt-get" to install it.
%p
You can also run commands to create your database (like 'rake db:create' in
Run on... | %p
In this file you can put any commands needed before your test suite is run.
It is a bash script and it will run in an Ubuntu 15.10 system. If you find that
a needed package is missing you can use
%code
apt-get
to install it.
%p
You can also run commands to create your database (like
%code
rake... | Add documentation for conditions on build commands | Add documentation for conditions on build commands
| Haml | mit | testributor/katana,testributor/katana,testributor/katana,testributor/katana |
1dd4f4c1f98ad5d961ca42a8858ee200526d0a2a | app/views/search/_results_scrapers.html.haml | app/views/search/_results_scrapers.html.haml | - if !@all_scrapers.total_count.zero?
%aside.col-xs-12.col-md-3
= render partial: "scraper_search_filter_controls"
.col-xs-12.col-md-9
- if @scrapers.total_count.zero?
.alert.alert-info
- if !@all_scrapers.total_count.zero?
= no_search_results_message("scrapers <em>with data,</em> that are".h... | - if @all_scrapers.total_count.zero?
.col-xs-12.col-md-9
.alert.alert-info
= no_search_results_message("scrapers", @q)
- else
%aside.col-xs-12.col-md-3
= render partial: "scraper_search_filter_controls"
.col-xs-12.col-md-9
- if @scrapers.total_count.zero?
.alert.alert-info
= no_se... | Make the special handling of no results for scrapers at all clearer | Make the special handling of no results for scrapers at all clearer
| Haml | agpl-3.0 | otherchirps/morph,openaustralia/morph,openaustralia/morph,otherchirps/morph,openaustralia/morph,openaustralia/morph,otherchirps/morph,otherchirps/morph,openaustralia/morph,openaustralia/morph,otherchirps/morph,openaustralia/morph,otherchirps/morph,otherchirps/morph |
0caa91d0576bf63cabecb531f86fdde610d03c77 | app/views/spree/order_mailer/cancel_email.html.haml | app/views/spree/order_mailer/cancel_email.html.haml | %table.social.white-bg{:width => "100%"}
%tr
%td
%table.column{:align => "left"}
%tr
%td
%h3
= t(".customer_greeting", name: @order.bill_address.firstname)
%h4
= t(".instructions_html", distributor: @order.distributor.name )
%... | %table.social.white-bg{width: "100%"}
%table.column{align: "left"}
%tr
%td
%h3
= t(".customer_greeting", name: @order.bill_address.firstname)
%h4
= t(".instructions_html", distributor: @order.distributor.name )
%img.float-left{src: "#{@order.distributor.logo.url(:... | Remove second table of cancel email instructions style | Remove second table of cancel email instructions style
| Haml | agpl-3.0 | Matt-Yorkley/openfoodnetwork,Matt-Yorkley/openfoodnetwork,openfoodfoundation/openfoodnetwork,lin-d-hop/openfoodnetwork,lin-d-hop/openfoodnetwork,mkllnk/openfoodnetwork,openfoodfoundation/openfoodnetwork,mkllnk/openfoodnetwork,Matt-Yorkley/openfoodnetwork,Matt-Yorkley/openfoodnetwork,openfoodfoundation/openfoodnetwork,o... |
174868c00ee12883246479039edf0488bc189d4b | app/views/import_results/_form.html.haml | app/views/import_results/_form.html.haml | = simple_form_for(@import_result.new_record? ? [@user, @competition, @import_result] : [@import_result], |
{:remote => true, :html => {:class => "data_entry"}}) do |f| |
= render partial: "/shared/error_messages", object: @import_result
= f.hidden_field :is_start_time
%table.... | = simple_form_for(@import_result.new_record? ? [@user, @competition, @import_result] : [@import_result], |
{:remote => true, :html => {:class => "data_entry"}}) do |f| |
= render partial: "/shared/error_messages", object: @import_result
= f.hidden_field :is_start_time
%table.... | Fix order of form for import_results | Fix order of form for import_results
| Haml | mit | rdunlop/unicycling-registration,rdunlop/unicycling-registration,rdunlop/unicycling-registration,rdunlop/unicycling-registration |
3205d11b7450ca03306f6967186868c6d3968c5c | app/views/shared/_quadicon.html.haml | app/views/shared/_quadicon.html.haml | %miq-quadicon.center-block
:javascript
var data = camelizeQuadicon(#{quadicon_hash(record).to_json});
document.querySelector('miq-quadicon').setAttribute('data', JSON.stringify(data));
miq_bootstrap('miq-quadicon');
| - uid = "quad-#{rand(36**8).to_s(36)}"
%miq-quadicon.center-block{:id => uid}
:javascript
var data = camelizeQuadicon(#{quadicon_hash(record).to_json});
document.querySelector("miq-quadicon##{uid}").setAttribute('data', JSON.stringify(data));
miq_bootstrap("miq-quadicon##{uid}");
| Add a unique random DOM ID for each quadicon and use it in miq_bootstrap | Add a unique random DOM ID for each quadicon and use it in miq_bootstrap
| Haml | apache-2.0 | ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic |
c5a036719672109bec0bfc6f8d92a93cfe79f47e | app/views/shared/_copy_button.html.haml | app/views/shared/_copy_button.html.haml | .clip_container.clipboard-btn{:id => "#{copy_button_id}_container", :data => { :"clipboard-text" => copy_text } }
.clip_button{:id => copy_button_id, :title => "Copy to clipboard"}
%i.fa.fa-copy{:id => "#{copy_button_id}_icon"}>
:javascript
new Clipboard("##{copy_button_id}_container");
| .clip_container.clipboard-btn{:id => "#{copy_button_id}_container", :data => { :"clipboard-text" => copy_text } }
.clip_button{:id => copy_button_id, :title => "Copy to clipboard"}
%btn.btn-sm.btn-secondary{id: "#{copy_button_id}_icon"}
%i.fa.fa-copy
:javascript
new Clipboard("##{copy_button_id}_container... | Make the copy button more obviously a button | Make the copy button more obviously a button
| Haml | apache-2.0 | Arie/serveme,Arie/serveme,Arie/serveme,Arie/serveme |
1f7feb61d4418aaed13177bc8feb62d84ceffa8a | app/views/snapshots/_snapshot.html.haml | app/views/snapshots/_snapshot.html.haml | .snapshot-card
= link_to cl_image_tag(snapshot.image_name,
width: 100, height: 100, crop: :fill, gravity: :north_east),
snapshot
| .snapshot-card
= link_to cl_image_tag(snapshot.image_name,
width: 100, height: 100, crop: :fill, gravity: :north_east),
snapshot
%p= time_ago_in_words(snapshot.created_at) + ' ago'
| Add created_at string to snapshot-card | Add created_at string to snapshot-card
| Haml | mit | kalw/diffux,kalw/diffux,kalw/diffux,diffux/diffux,diffux/diffux,diffux/diffux |
f099e36c181d3f089a18dab20b5aa0cc982da0a1 | app/views/projects/builds/_user.html.haml | app/views/projects/builds/_user.html.haml | by
%a{ href: user_path(@build.user) }
= image_tag avatar_icon(@build.user, 24), class: "avatar s24"
%strong{ data: { toggle: 'tooltip', placement: 'top', title: @build.user.to_reference } }
= @build.user.name
| by
%a{ href: user_path(@build.user) }
%span.hidden-xs
= image_tag avatar_icon(@build.user, 24), class: "avatar s24"
%strong{ data: { toggle: 'tooltip', placement: 'top', title: @build.user.to_reference } }
= @build.user.name
%strong.visible-xs-inline= @build.user.to_reference
| Change username full name back to only username on xs viewports | Change username full name back to only username on xs viewports
| Haml | mit | dreampet/gitlab,jirutka/gitlabhq,darkrasid/gitlabhq,stoplightio/gitlabhq,daiyu/gitlab-zh,LUMC/gitlabhq,mmkassem/gitlabhq,dplarson/gitlabhq,axilleas/gitlabhq,jirutka/gitlabhq,iiet/iiet-git,t-zuehlsdorff/gitlabhq,htve/GitlabForChinese,jirutka/gitlabhq,dreampet/gitlab,dplarson/gitlabhq,t-zuehlsdorff/gitlabhq,mmkassem/gitl... |
1d6f3c2c19f341e4085927fab42b87125132dca9 | app/views/heroes/_form.html.haml | app/views/heroes/_form.html.haml | = simple_form_for([campaign, hero], url: url, method: method, multipart: true) do |f|
= f.error_notification
.form-inputs
= f.input :name, placeholder: 'Name'
= f.input :archetype, placeholder: 'Archetype'
= f.input :race, placeholder: 'Race'
= f.input :alignment, placeholder: 'Alignment'
= f.i... | = simple_form_for([campaign, hero], url: url, method: method, multipart: true) do |f|
= f.error_notification
.form-inputs
= f.input :name, placeholder: 'Name'
= f.input :titles, placeholder: 'Titles', input_html: { rows: 5 }
= f.input :archetype, placeholder: 'Archetype'
= f.input :race, placeholde... | Expand some text areas in hero form. | Expand some text areas in hero form.
| Haml | mit | fantasygame/campaigns,fantasygame/campaigns,fantasygame/campaigns |
6c441abb7e2763aa87204dd140fb074b2e5e4eff | app/views/shared/_icon.html.haml | app/views/shared/_icon.html.haml | - middle = 'icn--middle' if middle
- klass ||= nil
- title ||= nil
- unless title.nil?
%i.icn{ class: "icn--#{icon} #{middle} #{klass}" }
%span.srt= title
- else
%i.icn{ class: "icn--#{icon} #{middle} #{klass}" }
| - middle = 'icn--middle' if middle
- klass ||= nil
- title ||= nil
- unless title.nil?
%i.icn{ class: "icn--#{icon} #{middle} #{klass}", 'aria-hidden' => true }
%span.srt= title
- else
%i.icn{ class: "icn--#{icon} #{middle} #{klass}" }
| Add `aria-hidden` attribute to Icon partial | Add `aria-hidden` attribute to Icon partial
- Unnest screen reader text
| Haml | mit | liufffan/orientation,IZEA/orientation,hashrocket/orientation,Scripted/orientation,friism/orientation,splicers/orientation,twinn/orientation,orientation/orientation,codio/orientation,cmckni3/orientation,cmckni3/orientation,codeschool/orientation,hashrocket/orientation,orientation/orientation,jefmathiot/orientation,splic... |
204b89b4bf1c0934c6897626001792480a9db792 | app/views/vcards/_form.html.haml | app/views/vcards/_form.html.haml | = f.semantic_fields_for :vcard do |vcard|
= vcard.input :full_name, :input_html => {"data-autofocus" => true}
= vcard.semantic_fields_for :address do |address|
= address.input :extended_address
= address.input :street_address
= address.input :post_office_box
= address.input :postal_code
= addres... | = f.semantic_fields_for :vcard do |vcard|
= vcard.input :full_name, :input_html => {"data-autofocus" => true}
= vcard.semantic_fields_for :address do |address|
= address.input :extended_address
= address.input :street_address
= address.input :post_office_box
= address.input :postal_code, :wrapper_ht... | Use two column layout for postal code and locality. | Use two column layout for postal code and locality.
| Haml | mit | huerlisi/has_vcards,hauledev/has_vcards,huerlisi/has_vcards,huerlisi/has_vcards,hauledev/has_vcards,hauledev/has_vcards |
91a0c6f7c2b4c9874edba2de65a81ee15a41ab27 | app/views/layouts/admin/application.html.haml | app/views/layouts/admin/application.html.haml | !!!
%html{ :xmlns => "http://www.w3.org/1999/xhtml", "xml:lang" => :en, :lang => :en }
%head
%meta{ "http-equiv" => "Content-Type", :content => "text/html; charset=utf-8" }
%title= t(:crm_admin_page)
== <!-- #{controller.controller_name} : #{controller.action_name} -->
= stylesheet_link_tag :applicat... | !!!
%html{ :xmlns => "http://www.w3.org/1999/xhtml", "xml:lang" => :en, :lang => :en }
%head
%meta{ "http-equiv" => "Content-Type", :content => "text/html; charset=utf-8" }
%title= t(:crm_admin_page)
== <!-- #{controller.controller_name} : #{controller.action_name} -->
= stylesheet_link_tag :applicat... | Revert need to include separate js. | Revert need to include separate js.
| Haml | mit | dalegregory/fat_free_crm,mojacc/fat_free_crm,williammoraes/fat_free_crm,Lumbe/lcrm-app,stanleylhs/fat_free_crm,rovin100/fat_free_crm,Scosentino/fat_free_crm,ianrtracey/fat,StudioMelipone/fat_free_crm,jeanmatheussouto/fat_free_crm,StudioMelipone/fat_free_crm,turingschool/crm,arboradalaci/fatfreecrm,pklauac/fat_free_crm,... |
4c902fbda6ff76a3a5fc3813834c49d0f97cb796 | app/views/comments/_comment.html.haml | app/views/comments/_comment.html.haml | .comment.row
.span6
%h3= comment.teaser
%blockquote
= simple_format(comment.body)
- if comment.attachment.present?
= link_to comment.attachment_identifier, comment.attachment.url
%small= authorship_details_for(comment)
%small.pull-right= link_to "Edit",
edit_activation_comm... | .comment.row
.span6
%h3= comment.teaser
%blockquote
= simple_format(comment.body)
- if comment.attachment.present?
= link_to comment.attachment_identifier, comment.attachment.url
%small
= authorship_details_for(comment)
= link_to 'Edit',
edit_activation_comm... | Move edit link closer to update | Move edit link closer to update
| Haml | mit | williamv/Flareteam,williamv/Flareteam |
305b0751a54bf9049d00e019cb99edcc17d404df | app/views/documentation/phantomjs.html.haml | app/views/documentation/phantomjs.html.haml | - content_for :title, "Using PhantomJS"
:markdown
## PhantomJS
In most circumstances web scraping is done by downloading a web page using your programming language and a library.
However in some cases you need to simulate a web browser.
This could be because the web site is poorly programmed or because it make... | - content_for :title, "Using PhantomJS"
:markdown
## PhantomJS
In most circumstances web scraping is done by downloading a web page using your programming language and a library.
However in some cases you need to simulate a web browser.
This could be because the web site is poorly programmed or because it make... | Add placeholder sections to PhantomJS documentation | Add placeholder sections to PhantomJS documentation
| Haml | agpl-3.0 | openaustralia/morph,otherchirps/morph,otherchirps/morph,openaustralia/morph,otherchirps/morph,otherchirps/morph,openaustralia/morph,otherchirps/morph,otherchirps/morph,openaustralia/morph,openaustralia/morph,openaustralia/morph,otherchirps/morph,openaustralia/morph |
4becb29bb0c46eae7e2acdd1569788f2737fa9af | app/views/admin/markdown/_index.html.haml | app/views/admin/markdown/_index.html.haml | :markdown
- Titles – `#` (biggest), `##` (smaller), `###` (even smaller), ...
- `*italic*` – *italic*
- `**bold**` – **bold**
- `[link](http://example.com)` – [link](http://example.com)
- `<email@example.com>` – <email@example.com>
In order to get paragraphs in texts, an additional empty new line is requir... | :markdown
- Titles – `#` (biggest), `##` (smaller), `###` (even smaller), ...
- `*italic*` – *italic*
- `**bold**` – **bold**
- `[link](http://example.com)` – [link](http://example.com)
- `` – displays the image
- `<email@example.com>` – <email@example.com>
In order to get parag... | Add reference to embedding images | Add reference to embedding images
| Haml | mit | twin/synergy,twin/synergy |
7d520885f46a4f3c897fb957c5512c0fa7fcc2a4 | app/views/admin/places/_actions.html.haml | app/views/admin/places/_actions.html.haml | = link_to "« #{t('shared.back')}".html_safe, admin_places_path, class: 'light-button left'
= link_to "+ #{t('shared.create') }".html_safe, new_admin_place_candidate_path(place), class: 'light-button'
= link_to "#{t 'shared.skip'} »".html_safe, next_admin_places_path(q: { dist_greater_than: place.distance_... | = link_to "« #{t('shared.back')}".html_safe, admin_places_path, class: :left
= link_to "+ #{t('shared.create') }".html_safe, new_admin_place_candidate_path(place), class: 'light-button'
= link_to "#{t 'shared.skip'} »".html_safe, next_admin_places_path(q: { dist_greater_than: place.distance_to(current_adm... | Make back and skip links instead of buttons. | Make back and skip links instead of buttons. | Haml | mit | sozialhelden/poichecker,sozialhelden/poichecker,sozialhelden/poichecker |
c5c34f4653078a3ab2abe53e1516ed3c2ee607ee | app/views/projects/blob/_remove.html.haml | app/views/projects/blob/_remove.html.haml | #modal-remove-blob.modal.hide
.modal-dialog
.modal-content
.modal-header
%a.close{href: "#", "data-dismiss" => "modal"} ×
%h3.page-title Remove #{@blob.name}
%p.light
From branch
%strong= @ref
.modal-body
= form_tag project_blob_path(@project, @id),... | #modal-remove-blob.modal.hide
.modal-dialog
.modal-content
.modal-header
%a.close{href: "#", "data-dismiss" => "modal"} ×
%h3.page-title Remove #{@blob.name}
%p.light
From branch
%strong= @ref
.modal-body
= form_tag project_blob_path(@project, @id),... | Fix blob remove modal style | Fix blob remove modal style
Signed-off-by: Dmitriy Zaporozhets <be23d75b156792e5acab51b196a2deb155d35d6a@gmail.com>
| Haml | mit | 8thcolor/rubyconfau2015-sadr,8thcolor/eurucamp2014-htdsadr,8thcolor/rubyconfau2015-sadr,8thcolor/eurucamp2014-htdsadr,8thcolor/rubyconfau2015-sadr,8thcolor/eurucamp2014-htdsadr |
749d57860220c57a4b223e68766176707b8e8742 | app/views/alerts/new.html.haml | app/views/alerts/new.html.haml | %section.new.alert{ :"data-fancybox" => true, :"data-replace" => "section.new.alert" }
%h2= t('views.alerts.new.header')
- if request.xhr?
= render 'shared/flash', :flash => flash
.row
= semantic_form_for [relic, alert], :remote => true do |f|
%p.description= t('views.alerts.new.description')
... | %section.new.alert{ :"data-fancybox" => true, :"data-replace" => "section.new.alert" }
%h2= t('views.alerts.new.header')
- if request.xhr?
= render 'shared/flash', :flash => flash
.row
= semantic_form_for [relic, alert], :remote => true do |f|
%p.description= t('views.alerts.new.description')
... | Move description on top in Alert form | Move description on top in Alert form | Haml | bsd-3-clause | netkodo/otwartezabytki,netkodo/otwartezabytki,netkodo/otwartezabytki,netkodo/otwartezabytki |
97a32f1186a90673512cc096f305f1984ebf7c88 | views/_other_pane.haml | views/_other_pane.haml | %table.char
%tbody
%tr
%td.specialized{:colspan => 2} General
%tr
%td Birth:
%td= @character['birth'].strftime("%b %d, %Y at %H:%M %Z")
%tr
%td Deaths
%td= add_commas(@character['deaths'].to_s)
- if @character.properties
%tr
%td.specialized{:colspan => 2} Ma... | %table.char
%tbody
%tr
%td.specialized{:colspan => 2} General
%tr
%td Birth:
%td= @character['birth'].strftime("%b %d, %Y at %H:%M %Z")
%tr
%td Deaths
%td= add_commas(@character['deaths'].to_s)
%tr
%td Fishing Skill
%td
- if @character.properties.has_k... | Add fishing and chess to Other pane | Add fishing and chess to Other pane
| Haml | mit | amoeba/treestats.net,amoeba/treestats.net,amoeba/treestats.net |
e6c2e8d0640946057f187d7d3246d6ad11fbcb10 | views/voting.haml | views/voting.haml | %h1 Voting
%h2 Voting at your polling station
%p Most people vote at their local polling station. This is usually in a school, hall or community centre near you.
%p
The council will send you a
%strong poll card
showing you where to vote.
%p If you lose your poll card, don't worry. You can still vote as long... | %h1 Voting
%h2 Voting at your polling station
%p Most people vote at their local polling station. This is usually in a school, hall or community centre near you.
%p
The council will send you a
%strong poll card
showing you where to vote.
%p If you lose your poll card, don't worry. You can still vote as long... | Make generic for all elections | Make generic for all elections
| Haml | agpl-3.0 | adrianshort/suttonelections,adrianshort/suttonelections |
b6d953acfa849c746899e107a66efc7b1e34ec95 | app/views/employees/_show.html.haml | app/views/employees/_show.html.haml | %ul.tabs
%li.active= link_to t_model, '#tab-contact'
%li= link_to t_model(Salary), '#tab-salaries'
%li= link_to t_title(:list, Invoice), '#tab-invoices'
%li= link_to t_title(:list, Activity), '#tab-activities' if Bookyt::Engine.engines.include?('bookyt_projects')
%li= link_to t_title(:timesheet, Activity), '#... | %ul.tabs
%li.active= link_to t_model, '#tab-contact'
%li= link_to t_model(Salary), '#tab-salaries' if Bookyt::Engine.engines.include?('bookyt_salary')
%li= link_to t_title(:list, Invoice), '#tab-invoices'
%li= link_to t_title(:list, Activity), '#tab-activities' if Bookyt::Engine.engines.include?('bookyt_project... | Include salary tab in employee view only if bookyt_salary is enabled. | Include salary tab in employee view only if bookyt_salary is enabled.
| Haml | agpl-3.0 | xuewenfei/bookyt,huerlisi/bookyt,silvermind/bookyt,wtag/bookyt,silvermind/bookyt,silvermind/bookyt,hauledev/bookyt,gaapt/bookyt,huerlisi/bookyt,gaapt/bookyt,huerlisi/bookyt,hauledev/bookyt,gaapt/bookyt,xuewenfei/bookyt,hauledev/bookyt,wtag/bookyt,hauledev/bookyt,silvermind/bookyt,wtag/bookyt,xuewenfei/bookyt,gaapt/book... |
f4ef339852feab8d6141601d62c4740aedee7929 | app/views/auth/sessions/new.html.haml | app/views/auth/sessions/new.html.haml | - content_for :page_title do
= t('auth.login')
= simple_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
.omniauth
.block-button.omniauth-pixiv
= t('simple_form.labels.omniauth_pixiv.signin')
.separate= t('simple_form.labels.omniauth.or')
= f.input :email, autofocus: t... | - content_for :page_title do
= t('auth.login')
= simple_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
.omniauth
- if %w(iPhone Safari).all? { |keyword| request.user_agent.include? keyword }
- query = { return_to: user_pixiv_omniauth_authorize_url }.to_query
- link =... | Split pixiv auth button for iOS App | Split pixiv auth button for iOS App
| Haml | agpl-3.0 | pixiv/mastodon,pixiv/mastodon,pixiv/mastodon,pixiv/mastodon |
a9907de49a1967cff2fb53e9d6301cbfb528fdf8 | app/views/shared/_label_row.html.haml | app/views/shared/_label_row.html.haml | .label-row
= link_to_label(label)
= markdown(label.description, pipeline: :single_line)
.pull-right
%strong.append-right-20
= link_to_label(label) do
= pluralize label.open_issues_count, 'open issue'
- if defined?(editable) && editable && can?(current_user, :admin_label, @project)
= ... | .label-row
= link_to_label(label)
%span.prepend-left-10
= markdown(label.description, pipeline: :single_line)
.pull-right
%strong.append-right-20
= link_to_label(label) do
= pluralize label.open_issues_count, 'open issue'
- if defined?(editable) && editable && can?(current_user, :admin... | Fix label - description spacing | Fix label - description spacing
| Haml | mit | stoplightio/gitlabhq,htve/GitlabForChinese,shinexiao/gitlabhq,mr-dxdy/gitlabhq,daiyu/gitlab-zh,icedwater/gitlabhq,mr-dxdy/gitlabhq,darkrasid/gitlabhq,axilleas/gitlabhq,daiyu/gitlab-zh,SVArago/gitlabhq,iiet/iiet-git,shinexiao/gitlabhq,jirutka/gitlabhq,screenpages/gitlabhq,darkrasid/gitlabhq,Soullivaneuh/gitlabhq,icedwat... |
38d003af7a73a27f1945357c32777cf83c91e12c | app/views/load_profiles/index.html.haml | app/views/load_profiles/index.html.haml | %h5 Load Profiles
%p= link_to 'Create a new load profile', new_load_profile_path, class: 'button button-primary'
%ul
- LoadProfile.all.sort_by(&:display_name).each do |profile|
%li= link_to(profile.display_name, profile)
%hr
= link_to('Testing Grounds', testing_grounds_path, class: 'button')
| %h5 Load Profiles
%p
= link_to('◄ Testing Grounds', testing_grounds_path, class: 'button')
= link_to 'Create a new load profile', new_load_profile_path, class: 'button button-primary'
%ul
- LoadProfile.all.sort_by(&:display_name).each do |profile|
%li= link_to(profile.display_name, profile)
| Move "testing grounds" button to top of load_profiles/index | Move "testing grounds" button to top of load_profiles/index
Ref #27
| Haml | mit | quintel/etmoses,quintel/etmoses,quintel/etmoses,quintel/etmoses,quintel/etmoses |
325729751a1c9bedd7d59e017e515b28b056ef6b | app/views/layouts/_header.html.haml | app/views/layouts/_header.html.haml | %nav.navbar.navbar-expand-lg.navbar-dark.bg-dark.justify-content-between
.nav
%a.navbar-brand{ href: root_path }
= image_tag("pear.png", class: 'logo', alt: 'Growstuff brand logo (drawing of a pear)')
%span.site-name Growstuff
.nav
%button.navbar-toggler{ "aria-controls" => "navbarSupportedConte... | %nav.navbar.navbar-expand-lg.navbar-dark.bg-dark.justify-content-between
.nav
%a.navbar-brand{ href: root_path }
= image_tag("pear.png", class: 'logo', alt: 'Growstuff brand logo (drawing of a pear)')
.d-none.d-md-block
%span.site-name Growstuff
.nav= render 'crops/search_bar'
.nav
%bu... | Move search bar to middle, hide sitename on small screens | Move search bar to middle, hide sitename on small screens
| Haml | agpl-3.0 | Br3nda/growstuff,cesy/growstuff,Br3nda/growstuff,cesy/growstuff,Br3nda/growstuff,cesy/growstuff,cesy/growstuff,Growstuff/growstuff,Growstuff/growstuff,Br3nda/growstuff,Growstuff/growstuff,Growstuff/growstuff |
a90320f792f9faefa3d5198e17b94f3acec7c6a5 | app/views/clusters/clusters/_cluster.html.haml | app/views/clusters/clusters/_cluster.html.haml | .card
.card-body.gl-responsive-table-row
.table-section.section-60
.table-mobile-header{ role: "rowheader" }= s_("ClusterIntegration|Kubernetes cluster")
.table-mobile-content
= link_to cluster.name, cluster.show_path
.table-section.section-25
.table-mobile-header{ role: "rowheader" ... | .card
.card-body.gl-responsive-table-row
.table-section.section-60
.table-mobile-header{ role: "rowheader" }= s_("ClusterIntegration|Kubernetes cluster")
.table-mobile-content
= link_to cluster.name, cluster.show_path
- if cluster.enabled?
%span.badge.badge-info Active
... | Add active and connection disabled badges to clusters | Add active and connection disabled badges to clusters
| Haml | mit | axilleas/gitlabhq,axilleas/gitlabhq,dreampet/gitlab,axilleas/gitlabhq,iiet/iiet-git,dreampet/gitlab,mmkassem/gitlabhq,axilleas/gitlabhq,iiet/iiet-git,dreampet/gitlab,iiet/iiet-git,mmkassem/gitlabhq,dreampet/gitlab,stoplightio/gitlabhq,iiet/iiet-git,stoplightio/gitlabhq,mmkassem/gitlabhq,mmkassem/gitlabhq,stoplightio/gi... |
5f47b61cef9c110c09eab57a9e5f8f32654f21bd | app/views/projects/buttons/_dropdown.html.haml | app/views/projects/buttons/_dropdown.html.haml | - if current_user
%span.dropdown
%a.dropdown-new.btn.btn-new{href: '#', "data-toggle" => "dropdown"}
= icon('plus')
%ul.dropdown-menu.dropdown-menu-right.project-home-dropdown
- if can?(current_user, :create_issue, @project)
%li
= link_to url_for_new_issue do
= icon('... | - if current_user
%span.dropdown
%a.dropdown-new.btn.btn-new{href: '#', "data-toggle" => "dropdown"}
= icon('plus')
%ul.dropdown-menu.dropdown-menu-right.project-home-dropdown
- if can?(current_user, :create_issue, @project)
%li
= link_to url_for_new_issue(@project, only_path: tr... | Use a relative link instead of full URL with New Issue button to be consistent | Use a relative link instead of full URL with New Issue button to be consistent
Relates to #3095
| Haml | mit | ksoichiro/gitlabhq,ferdinandrosario/gitlabhq,screenpages/gitlabhq,shinexiao/gitlabhq,cui-liqiang/gitlab-ce,Soullivaneuh/gitlabhq,allysonbarros/gitlabhq,ikappas/gitlabhq,jrjang/gitlabhq,jrjang/gitlab-ce,jirutka/gitlabhq,larryli/gitlabhq,stoplightio/gitlabhq,ikappas/gitlabhq,dwrensha/gitlabhq,yatish27/gitlabhq,duduribeir... |
a942a568f335ce94ebfcab13d6556f34af0bd379 | share/views/tasks.haml | share/views/tasks.haml | .workflow.tasks
%h3= workflow.to_s
- unless workflow.documentation[:title].empty?
:markdown
#{workflow.documentation[:title]}
- unless workflow.documentation[:description].empty?
:markdown
#{workflow.documentation[:description]}
%h5 Tasks
- unless workflow.documentation[:task_descrip... | .workflow.tasks
%h3= workflow.to_s
- unless workflow.documentation[:title].empty?
:markdown
#{workflow.documentation[:title]}
- unless workflow.documentation[:description].empty?
:markdown
#{workflow.documentation[:description]}
%h5 Tasks
- unless workflow.documentation[:task_descrip... | Make sure we list all task exports, including streming | Make sure we list all task exports, including streming
| Haml | mit | mikisvaz/rbbt-rest,mikisvaz/rbbt-rest,mikisvaz/rbbt-rest,mikisvaz/rbbt-rest |
db90e8080d24f11c65c16ecedc612ceba2e5da7c | app/views/docs/index.html.haml | app/views/docs/index.html.haml | - @docs.each do |doc|
%h2= link_to doc.title, doc
%p= time_ago_in_words(doc.created_at)
%p= truncate(doc.content, length: 50)
| - @docs.each do |doc|
%h2= link_to doc.title, doc
%p= time_ago_in_words(doc.created_at)
%p= truncate(doc.content, length: 50)
= link_to "Create Doc", new_doc_path
| Add 'Create Doc' link on index view | Add 'Create Doc' link on index view
| Haml | mit | Kraykin/file-cabinet,Kraykin/file-cabinet,Kraykin/file-cabinet |
0bda8a56ed89ef499b99fe2f71db72f42d2b935b | app/views/users/join_team.js.haml | app/views/users/join_team.js.haml | - js = escape_javascript(
- render(partial: 'teams/list', locals: { teams: @teams })
- )
$("#filterrific_results").html("#{js}"); | - js = escape_javascript(render(partial: 'teams/list', locals: { teams: @teams }))
$("#filterrific_results").html("#{js}");
| Fix line that was previously working and now causing a syntax error | Fix line that was previously working and now causing a syntax error
Not exactly sure what changed that caused this to begin throwing a syntax error, however putting the whole line together seems to fix the issue. Going to guess that updating the haml gem 2 days ago caused this. Closes #83
| Haml | apache-2.0 | mitre-cyber-academy/ctf-scoreboard,mitre-cyber-academy/registration-app,mitre-cyber-academy/ctf-scoreboard,mitre-cyber-academy/registration-app,mitre-cyber-academy/ctf-scoreboard,mitre-cyber-academy/registration-app,mitre-cyber-academy/ctf-scoreboard |
e5535199dacbe8cc3a742b2024d92e15882a78d8 | angular/core/components/poll/common/stance_choice/poll_common_stance_choice.haml | angular/core/components/poll/common/stance_choice/poll_common_stance_choice.haml | .poll-common-stance-choice{ng-class: "poll-common-stance-choice--{{stanceChoice.poll().pollType}}"}
%poll_common_stance_icon{stance_choice: "stanceChoice"}
%span{ng-if: "hasVariableScore()"}> {{stanceChoice.score}} -
%span.poll-common-stance-choice__option-name{ng-if: "translateOptionName()", translate: "poll_{{s... | .poll-common-stance-choice{ng-class: "poll-common-stance-choice--{{stanceChoice.poll().pollType}}"}
%poll_common_stance_icon{stance_choice: "stanceChoice"}
%span{ng-if: "hasVariableScore()"}> {{stanceChoice.score}} -
%span.poll-common-stance-choice__option-name{ng-if: "translateOptionName()", translate: "poll_{{s... | Fix poll option names not appearing | Fix poll option names not appearing
| Haml | agpl-3.0 | loomio/loomio,piratas-ar/loomio,loomio/loomio,piratas-ar/loomio,piratas-ar/loomio,loomio/loomio,loomio/loomio,piratas-ar/loomio |
125249a56cbbece96c4adeab21451673505149e5 | app/views/squats/_description.html.haml | app/views/squats/_description.html.haml | = simple_format squat.address, {}, wrapper_tag: "address"
= simple_format squat.body, class: :body
- if squat.link
= link_to squat.link, squat.link, class: :link
.periods
%h5= t(:squat_period)
- squat.periods.each do |p|
.period
= simple_format p.to_s
-unless squat.tags.blank?
.tags
%h5= t(:ta... | = simple_format squat.address, {}, wrapper_tag: "address"
= simple_format squat.body, class: :body
- if squat.link
= link_to squat.link, squat.link, class: :link, target: '_blank'
.periods
%h5= t(:squat_period)
- squat.periods.each do |p|
.period
= simple_format p.to_s
-unless squat.tags.blank?
.t... | Make squat links target _blank browser tab | Make squat links target _blank browser tab | Haml | mit | eikes/sqek,eikes/sqek,eikes/sqek |
f7a612872798d6aa90e3cc621cc0dd99349f8326 | app/views/work_entries/_new_timer.haml | app/views/work_entries/_new_timer.haml | = form_for current_user.work_entries.new do |f|
%p.pull-left
%strong New timer:
= f.text_field :invoice_notes, class: "form-control medium inline", placeholder: "Whatcha workin on?"
%p.pull-left
= f.select :project_id, project_options_for_select(exclude_inactive: true, selected_id: cur... | = form_for current_user.work_entries.new do |f|
.nowrap{style: "padding-bottom: 10px;"}
%strong New timer:
= f.text_field :invoice_notes, class: "form-control inline", placeholder: "Whatcha workin on?", style: "width: 250px;"
= f.select :project_id, project_options_for_select(exclude_ina... | Fix wrapping of new timer form | Fix wrapping of new timer form
| Haml | mit | topherhunt/timesheet,topherhunt/timesheet,topherhunt/work_tracker,topherhunt/work_tracker,topherhunt/timesheet,topherhunt/work_tracker |
4fc68b88b232124c8657974596308dc848b80555 | app/views/projects/_about_footer.html.haml | app/views/projects/_about_footer.html.haml |
.what-is-this
= markdown t("projects.page.about1", :project_language => @project.language, :project_nwo => escape_markdown(@project.name), :badge_image_url => badge_markup.image_path, :new_issue_url => github_issue_url(:project => @project))
= markdown t("projects.page.about2")
- if @project.build_on_inch_ci?
... |
.what-is-this
= markdown t("projects.page.about1", :project_language => @project.language, :project_nwo => escape_markdown(@project.name), :badge_image_url => badge_markup.image_path)
= markdown t("projects.page.about2")
- if @project.build_on_inch_ci?
- path = @project.language?(:javascript) ? help_configu... | Fix issue URL in about text (thx @Art4) | Fix issue URL in about text (thx @Art4)
| Haml | mit | inch-ci/inch_ci-web,inch-ci/inch_ci-web,inch-ci/inch_ci-web |
cd71453d3334e0559575675c90192553f8f716e2 | app/views/admin/locations/forms/_kind.html.haml | app/views/admin/locations/forms/_kind.html.haml | .inst-box
%header
%strong
Kind
%p.desc
Choose the type of location that best describes the services offered.
%p
- if f.object.new_record?
= f.select :kind, Location.kind.options, prompt: 'Choose an option'
- else
= f.select :kind, Location.kind.options | .inst-box
%header
%strong
Kind
%p.desc
Choose the type of location that best describes the services offered.
%p
- if f.object.new_record?
= f.select :kind, Location.kind.options, { prompt: 'Choose an option' }, class: 'form-control'
- else
= f.select :kind, Location.kind.opti... | Apply Bootstrap 3 styling to Kind dropdown. | Apply Bootstrap 3 styling to Kind dropdown.
| Haml | bsd-3-clause | smcgov/ohana-api-smc,smcgov/ohana-api-smc,smcgov/ohana-api-smc,smcgov/ohana-api-smc |
e25abf8a37eea56e7635185acf41172517a7ff92 | app/views/clinic_visits/_clinic_visit.html.haml | app/views/clinic_visits/_clinic_visit.html.haml | %tr
%td
= clinic_visit.date
%td
= clinic_visit.bmi
%td
= clinic_visit.bp
%td
= link_to 'Add Letter', new_clinic_visit_letter_path(clinic_visit), class: 'button tiny'
= link_to 'Edit', edit_patient_clinic_visit_path(patient_id: clinic_visit.patient.to_param, id: clinic_visit.to_param), class:... | %tr
%td
= clinic_visit.date
%td
= clinic_visit.bmi
%td
= clinic_visit.bp
%td
= link_to 'Create Clinic Letter', new_clinic_visit_letter_path(clinic_visit)
|
= link_to 'Edit', edit_patient_clinic_visit_path(patient_id: clinic_visit.patient.to_param, id: clinic_visit.to_param)
... | Streamline clinic visit index links (remove buttons) | Streamline clinic visit index links (remove buttons)
NB need to standardise these across app at some point
| Haml | mit | airslie/renalware-core,airslie/renalware-core,airslie/renalware-core,airslie/renalware-core |
4b87ecd37d3ef0d0e2d0bbe59d6a4d0a409e19f9 | app/views/projects/issues/_discussion.html.haml | app/views/projects/issues/_discussion.html.haml | - content_for :note_actions do
- if can?(current_user, :update_issue, @issue)
= link_to 'Reopen issue', issue_path(@issue, issue: {state_event: :reopen}, format: 'json'), data: {original_text: "Reopen issue", alternative_text: "Comment & reopen issue"}, class: "btn btn-nr btn-reopen btn-comment js-note-target-reo... | - content_for :note_actions do
- if can?(current_user, :update_issue, @issue)
= link_to 'Reopen issue', issue_path(@issue, issue: {state_event: :reopen}, format: 'json'), data: {original_text: "Reopen issue", alternative_text: "Comment & reopen issue"}, class: "btn btn-nr btn-reopen btn-comment js-note-target-reo... | Add data-discussions-path to issues notes div | Add data-discussions-path to issues notes div
| Haml | mit | dreampet/gitlab,jirutka/gitlabhq,axilleas/gitlabhq,dreampet/gitlab,axilleas/gitlabhq,jirutka/gitlabhq,mmkassem/gitlabhq,iiet/iiet-git,dreampet/gitlab,jirutka/gitlabhq,stoplightio/gitlabhq,mmkassem/gitlabhq,mmkassem/gitlabhq,dreampet/gitlab,iiet/iiet-git,iiet/iiet-git,stoplightio/gitlabhq,iiet/iiet-git,stoplightio/gitla... |
c04a37ee145e2c36d4cc5c5b44075d6815f05b7b | app/views/dashboard/_projects.html.haml | app/views/dashboard/_projects.html.haml | .panel.panel-default
.panel-heading.clearfix
= search_field_tag :filter_projects, nil, placeholder: 'Filter by name', class: 'dash-filter form-control'
- if current_user.can_create_project?
%span.pull-right
= link_to new_project_path, class: "btn btn-new" do
%i.icon-plus
New ... | .panel.panel-default
.panel-heading.clearfix
= search_field_tag :filter_projects, nil, placeholder: 'Filter by name', class: 'dash-filter form-control'
- if current_user.can_create_project?
%span.pull-right
= link_to new_project_path, class: "btn btn-new" do
%i.icon-plus
New ... | Fix dashboard "show more project" link padding | Fix dashboard "show more project" link padding
Signed-off-by: Dmitriy Zaporozhets <be23d75b156792e5acab51b196a2deb155d35d6a@gmail.com>
| Haml | mit | 8thcolor/eurucamp2014-htdsadr,8thcolor/rubyconfau2015-sadr,8thcolor/rubyconfau2015-sadr,8thcolor/eurucamp2014-htdsadr,8thcolor/rubyconfau2015-sadr,8thcolor/eurucamp2014-htdsadr |
275b20410669e224e9bfbfc3d1eb7609ea788c42 | app/views/events/body/_review.html.haml | app/views/events/body/_review.html.haml | = link_to person_event_url(@topic, event, :format => "pdf"), {"class" => "btn", "#{review.published ? "data-hacky" : "disabled"}" => "disabled"} do
%i.icon-print
print
= link_to person_event_url(@topic, review.events.creation.first), :class => "btn" do
%i.icon-th-list
Show entire review
- if review.attendance
... | = link_to person_event_url(review.person, event, :format => "pdf"), {"class" => "btn", "#{review.published ? "data-hacky" : "disabled"}" => "disabled"} do
%i.icon-print
print
= link_to person_event_url(review.person, review.events.creation.first), :class => "btn" do
%i.icon-th-list
Show entire review
- if revi... | Fix bad links to reviews from everyone view | Fix bad links to reviews from everyone view
| Haml | agpl-3.0 | sdc/leap,sdc-webteam-deploy/leap,sdc-webteam-deploy/leap,sdc/leap,sdc-webteam-deploy/leap,sdc/leap,sdc-webteam-deploy/leap,sdc/leap |
db0bffdab39f44298e92d4a7efe5c0739113cf17 | app/views/application/_topbar.haml | app/views/application/_topbar.haml | .top-bar.show-for-large
.row
.top-bar-left
%ul.menu
%li.topbar__logo= link_to image_tag('/logo.svg'), (signed_in? ? dashboard_path : root_path)
- if company_signed_in?
%li= link_to t('nav.jobs'), offers_path
%li= link_to t('nav.candidates'), candidates_path
-else
... | .top-bar.show-for-large
.row
.top-bar-left
%ul.menu
%li.topbar__logo= link_to image_tag('/logo.svg'), (signed_in? ? dashboard_path : root_path)
- if company_signed_in?
%li= link_to t('nav.jobs_pl'), offers_poland_path
%li= link_to t('nav.jobs_abroad'), offers_path
... | Change links in topbar for company view | Change links in topbar for company view
| Haml | mit | moroz/hatarake,moroz/hatarake,moroz/hatarake,moroz/hatarake |
e9663f7c78d50d3181252ae1cafc57708dec4537 | src/ggrc/templates/admin/index.haml | src/ggrc/templates/admin/index.haml | -# Copyright (C) 2016 Google Inc.
-# Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
-extends "layouts/dashboard.haml"
-block title
Admin Dashboard
-block extra_javascript
=super()
-block header
-include 'base_objects/_page_header.haml'
-block widget_area
| -# Copyright (C) 2016 Google Inc.
-# Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
-extends "layouts/dashboard.haml"
-block title
Admin Dashboard
-block extra_javascript
=super()
GGRC.page_object = { "person": ={ full_user_json()|safe } };
-block header
-include 'base_objects/... | Set GGRC.page_object for admin dashboard | Set GGRC.page_object for admin dashboard
| Haml | apache-2.0 | josthkko/ggrc-core,andrei-karalionak/ggrc-core,VinnieJohns/ggrc-core,josthkko/ggrc-core,andrei-karalionak/ggrc-core,AleksNeStu/ggrc-core,j0gurt/ggrc-core,AleksNeStu/ggrc-core,andrei-karalionak/ggrc-core,selahssea/ggrc-core,josthkko/ggrc-core,edofic/ggrc-core,VinnieJohns/ggrc-core,j0gurt/ggrc-core,edofic/ggrc-core,kr41/... |
1b68f5176a8845d9edda764b4e79856a45df6cb5 | app/views/layouts/_bugsnag_javascript.html.haml | app/views/layouts/_bugsnag_javascript.html.haml | - if ENV['BUGSNAG_JAVASCRIPT_API_KEY']
%script{ src:"//d2wy8f7a9ursnm.cloudfront.net/bugsnag-2.min.js",
"data-apikey" => "#{ENV["BUGSNAG_JAVASCRIPT_API_KEY"]}" }
| - if ENV['BUGSNAG_JAVASCRIPT_API_KEY']
%script{ src:"//d2wy8f7a9ursnm.cloudfront.net/bugsnag-2.min.js",
"data-apikey" => "#{ENV["BUGSNAG_JAVASCRIPT_API_KEY"]}" }
:javascript
Bugsnag.releaseStage = "#{Rails.env}";
Bugsnag.notifyReleaseStages = ["staging", "production"];
| Add release stages to suppress dev and test errors | Add release stages to suppress dev and test errors
| Haml | mit | johan--/tahi,johan--/tahi,johan--/tahi,johan--/tahi |
ca9123998944dba905f060b5c2d19e839ae96e31 | app/views/shared/_dissolution_message.html.haml | app/views/shared/_dissolution_message.html.haml | .highlight__box.highlight--primary
%p Parliament has been dissolved before the general election on 8 June. There are currently no MPs.
| .highlight__box.highlight--primary__soft
%p Parliament has been dissolved before the general election on 8 June. There are currently no MPs.
| Update to dissolution banner highlight | [WEBSITE-1036] Update to dissolution banner highlight
| Haml | mit | vinternet-pds/parliament.uk-prototype,ukparliament/parliament.uk-prototype,C-N-J/parliament.uk-prototype,cwaszczuk/parliament.uk-prototype,cwaszczuk/parliament.uk-prototype,vinternet-pds/parliament.uk-prototype,ukparliament/parliament.uk-prototype,vinternet-pds/parliament.uk-prototype,cwaszczuk/parliament.uk-prototype,... |
843553b5ed538f1242cc6b53ba43ed5b52cae983 | server/sinatra/views/page.haml | server/sinatra/views/page.haml | .page{:id => page_name, "data-server-generated" => "true"}
%h1
%a{:href => '/', :style => "text-decoration: none"}
%img{:src => '/favicon.png', :height => '32px'}
= page['title']
.story
- page['story'].each do |item|
%div{:class => ['item', type=item['type']], :id => item['id'], "data-static-item" => item... | .page{:id => page_name, "data-server-generated" => "true"}
%h1
%a{:href => '/', :style => "text-decoration: none"}
%img{:src => '/favicon.png', :height => '32px'}
= page['title']
.story
- page['story'].each do |item|
%div{:class => ['item', type=item['type']], :id => item['id'], "data-static-item" => item... | Remove charts from ruby rendering | Remove charts from ruby rendering
| Haml | mit | WardCunningham/Smallest-Federated-Wiki,WardCunningham/Smallest-Federated-Wiki,WardCunningham/Smallest-Federated-Wiki,WardCunningham/Smallest-Federated-Wiki |
d6bf35782ebbb1936e7e4ed5ba1c6506ab47b0f2 | app/views/passwords/edit.html.haml | app/views/passwords/edit.html.haml | .row
.columns.panel.radius.callout
%h5 Reset Your Password
%p Enter a new password and a confirmation below to change your current password
= simple_form_for @user, :url => passwords_path(@user) do |f|
= f.hidden_field :token, @token
= f.label :password
= f.password_field :password
... | .row
.columns.panel.radius.callout
%h5 Reset Your Password
%p Enter a new password and a confirmation below to change your current password
= simple_form_for @user, :url => password_path(@token) do |f|
= hidden_field_tag :token, @token
= f.label :password
= f.password_field :password
... | Correct the form path and token | Correct the form path and token
| Haml | agpl-3.0 | peterkshultz/gradecraft-development,peterkshultz/gradecraft-development,mkoon/gradecraft-development,UM-USElab/gradecraft-development,peterkshultz/gradecraft-development,mkoon/gradecraft-development,mkoon/gradecraft-development,UM-USElab/gradecraft-development,UM-USElab/gradecraft-development,UM-USElab/gradecraft-devel... |
122e8b50a69b4e8cf44ae6663d049b427895bd5b | app/views/service/show.html.haml | app/views/service/show.html.haml | #main_div
- if %w(generic_objects).include?(@display)
= render :partial => "layouts/gtl", :locals => {:action_url => "show/#{@record.id}"}
- else
= render :partial => 'layouts/textual_groups_generic'
| Add `show` template to display nested lists | Add `show` template to display nested lists
| Haml | apache-2.0 | ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic | |
afb8380e38581b5aad5be05b61e7ce85d58be878 | app/views/admin/external_reports/_form.html.haml | app/views/admin/external_reports/_form.html.haml | .item
.content
- if report.errors.any?
%ul.menu_v.error-explanation
%li Client can't be saved, there are errors in form:
- report.errors.full_messages.each do |msg|
%li= msg
%p
%ul.menu_v
/:app_id, :app_secret, :name, :site_url, :domain_matchers
%li
... | .item
.content
- if report.errors.any?
%ul.menu_v.error-explanation
%li Client can't be saved, there are errors in form:
- report.errors.full_messages.each do |msg|
%li= msg
%p
%ul.menu_v
/:app_id, :app_secret, :name, :site_url, :domain_matchers
%li
... | Add extra description for "allow_for_students" property | Add extra description for "allow_for_students" property
[#166241118]
| Haml | mit | concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse |
d8b7dd3d45be474681fc6df6c899ff330d194f10 | app/views/cms/resources/list/_has_many.html.haml | app/views/cms/resources/list/_has_many.html.haml | - if entry
- attribute.klass.find_by(id: entry).send(attribute.name).each do |resource|
= link_to "##{ resource.id }", edit_polymorphic_path(resource)
| - if entry && attribute.klass.exists?(entry)
- attribute.klass.find_by(id: entry).send(attribute.name).each do |resource|
= link_to "##{ resource.id }", edit_polymorphic_path(resource)
| Add condition if resource was deleted for has_many partial | Add condition if resource was deleted for has_many partial
| Haml | mit | droptheplot/adminable,droptheplot/adminable,droptheplot/adminable |
01447f020da946d1e772fc44be017480f7f60984 | app/views/admin/accounts/index.html.haml | app/views/admin/accounts/index.html.haml | =h1 "Les derniers comptes utilisateurs créés"
%table
%tr
%th Login
%th Email
%th Karma
%th IP
%th Status
%th Date de création
%th Actions
- @accounts.each do |account|
%tr
%td= link_to account.login, account.user
%td= account.email
%td= account.karma
%td= acc... | =h1 "Les derniers comptes utilisateurs créés"
%table
%tr
%th Login
%th Email
%th Karma
%th IP
%th Status
%th Date de création
%th Actions
- @accounts.each do |account|
%tr
%td= link_to account.login, account.user
%td= account.email
%td= account.karma
%td= acc... | Add pagination links for accounts listing in admin | Add pagination links for accounts listing in admin
| Haml | agpl-3.0 | linuxfrorg/linuxfr.org,linuxfrorg/linuxfr.org,linuxfrorg/linuxfr.org,cykl/linuxfr.org,linuxfrorg/linuxfr.org,cykl/linuxfr.org |
5bad36315dc2a8a5a6b6691320618343f2397239 | app/views/categories/_categories.html.haml | app/views/categories/_categories.html.haml | %ul.category-summary
- categories.select {|category| category.post_count > 0 }.each do |category|
%li.category-summary__item
= link_to "#{category.name} (#{category.post_count})", category_url(category.slug), class: "category-summary__title"
%ul.category-summary__list
- if category.has_childr... | %ul.category-summary
- categories.select {|category| category.post_count > 0 }.each do |category|
%li.category-summary__item
= link_to "#{category.name} (#{category.post_count})", category_url(category.slug), class: "category-summary__title"
%ul.category-summary__list
- if category.has_childr... | Fix sub category's text :< | Fix sub category's text :<
| Haml | mit | bm-sms/daimon-news,bm-sms/daimon-news,bm-sms/daimon-news |
82bd1abf93a9289067ed692ca8785c3331613961 | app/views/chargeback/_rates_tabs.html.haml | app/views/chargeback/_rates_tabs.html.haml | #rates_tabs_div
- if x_node == "root"
= render :partial => "rates_list"
- elsif @edit && @edit[:new] && params[:pressed] && params[:pressed] != "chargeback_rates_delete"
= render :partial => "cb_rate_edit"
- elsif %w(Compute Storage).include?(x_node.split('-').last)
= render :partial => 'layouts/x_gtl... | #rates_tabs_div
- if x_node == "root"
= render :partial => "rates_list"
- elsif @edit && @edit[:new] && ((params[:pressed] && params[:pressed] != "chargeback_rates_delete") || params[:button] == "reset")
= render :partial => "cb_rate_edit"
- elsif %w(Compute Storage).include?(x_node.split('-').last)
=... | Enable to edit Chargeback rate after resetting changes | Enable to edit Chargeback rate after resetting changes
fixing https://github.com/ManageIQ/manageiq-ui-classic/issues/2744
Enable to edit Chargeback rate again after clicking on Reset button
in Cloud Intel -> Chargeback -> Rates tab.
| Haml | apache-2.0 | ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic |
712711a3abfd36759a2c070777ab26b2ec85facd | views/edit_data_source.haml | views/edit_data_source.haml | !!!
%html
%head
%meta{:name => 'viewport', :content => 'width=device-width, initial-scale=1.0'}
%title= @page_title
%link{:href => '/bootstrap/css/bootstrap.min.css', :rel => 'stylesheet', :media => 'screen'}
%link{:href => '/css/common.css', :rel => 'stylesheet', :media => 'screen'}
%body
.na... | !!!
%html
%head
%meta{:name => 'viewport', :content => 'width=device-width, initial-scale=1.0'}
%title= @page_title
%link{:href => '/bootstrap/css/bootstrap.min.css', :rel => 'stylesheet', :media => 'screen'}
%link{:href => '/css/common.css', :rel => 'stylesheet', :media => 'screen'}
%body
.na... | Make the datasource name field readonly | Make the datasource name field readonly
| Haml | apache-2.0 | Somsubhra/ginger,Somsubhra/ginger,Somsubhra/ginger |
04e3f426066341e0f4477151cd73d99e147bfa9e | app/views/admin/editions/submitted.html.haml | app/views/admin/editions/submitted.html.haml | =render partial: 'index_heading'
%section.resource_list
%h1 Submitted
%table#submitted_policies
%thead
%tr
%th Title
%th Author
%th.actions Actions
%tbody
- @editions.each do |edition|
%tr.policy
%td.title= link_to edition.title, admin_edition_path(edition), ... | =render partial: 'index_heading'
%section.resource_list
%h1 Submitted
%table#submitted_policies
%thead
%tr
%th Title
%th Author
%th.actions Actions
%tbody
- @editions.each do |edition|
%tr.policy
%td.title= link_to edition.title, admin_edition_path(edition), ... | Make edit link consistent with the drafts view | Make edit link consistent with the drafts view
| Haml | mit | alphagov/whitehall,YOTOV-LIMITED/whitehall,askl56/whitehall,alphagov/whitehall,hotvulcan/whitehall,ggoral/whitehall,hotvulcan/whitehall,YOTOV-LIMITED/whitehall,robinwhittleton/whitehall,alphagov/whitehall,robinwhittleton/whitehall,YOTOV-LIMITED/whitehall,askl56/whitehall,hotvulcan/whitehall,askl56/whitehall,ggoral/whit... |
1adebf1c6b9ec17525d3b49807d1b034179085d3 | app/views/esr_files/_form.html.haml | app/views/esr_files/_form.html.haml | = simple_form_for resource do |f|
= f.input :file, :as => :file
.row-fluid
.span12= f.input :remarks, :input_html => {:rows => 4}
= f.button :submit | = simple_form_for resource do |f|
= f.input :file, :as => :file
= f.button :submit
| Drop remarks field from esr file upload. | Drop remarks field from esr file upload.
| Haml | mit | raskhadafi/vesr,raskhadafi/vesr |
64ca2e8e515bc747e897a7176b8b4419cab04302 | app/views/layouts/_header.html.haml | app/views/layouts/_header.html.haml | %body
%header.navbar.navbar-fixed-top.navbar-inverse
.container
= link_to "Ecotone", root_path, id: "logo"
%nav
%ul.nav.navbar-nav.navbar-right
- if logged_in?
- if admin?(current_user)
%li= link_to "Users", users_path
%li.dropdown
... | %header.navbar.navbar-fixed-top.navbar-inverse
.container
= link_to "Ecotone", root_path, id: "logo"
%nav
%ul.nav.navbar-nav.navbar-right
- if logged_in?
- if admin?(current_user)
%li= link_to "Users", users_path
%li.dropdown
%a.dropdown-toggle{"data-t... | Remove duplicate body tag from header partial. | Remove duplicate body tag from header partial.
| Haml | mit | osu-cascades/ecotone-web,osu-cascades/ecotone-web,osu-cascades/ecotone-web,osu-cascades/ecotone-web |
d8440b3035667623c87fe84b5a58c68da4ff936f | app/views/layouts/nav/_explore.html.haml | app/views/layouts/nav/_explore.html.haml | %ul.nav.nav-sidebar
= nav_link(path: ['dashboard#show', 'root#show', 'projects#trending', 'projects#starred', 'projects#index'], html_options: {class: 'home'}) do
= link_to explore_root_path, title: 'Projects' do
= icon('bookmark fw')
%span
Projects
= nav_link(controller: :groups) do
= l... | %ul.nav.nav-sidebar
= nav_link(path: ['dashboard#show', 'root#show', 'projects#trending', 'projects#starred', 'projects#index'], html_options: {class: 'home'}) do
= link_to explore_root_path, title: 'Projects' do
= icon('bookmark fw')
%span
Projects
= nav_link(controller: [:groups, 'groups/m... | Fix active state for group pages if user not logged in | Fix active state for group pages if user not logged in
Signed-off-by: Dmitriy Zaporozhets <be23d75b156792e5acab51b196a2deb155d35d6a@gmail.com>
| Haml | mit | t-zuehlsdorff/gitlabhq,screenpages/gitlabhq,mr-dxdy/gitlabhq,mmkassem/gitlabhq,mmkassem/gitlabhq,openwide-java/gitlabhq,dplarson/gitlabhq,daiyu/gitlab-zh,jirutka/gitlabhq,Soullivaneuh/gitlabhq,darkrasid/gitlabhq,iiet/iiet-git,dplarson/gitlabhq,LUMC/gitlabhq,icedwater/gitlabhq,mmkassem/gitlabhq,jirutka/gitlabhq,SVArago/... |
bba90323f7916a365394833ddb13801ce71f5de4 | app/views/printing/competitions/_mass_start_list.html.haml | app/views/printing/competitions/_mass_start_list.html.haml | .nobreak
%h3= "Wave #{wave}"
- if wave_times.count > 0
%h4= wave_times.where(wave: wave).first.try(:scheduled_time)
%table.full.grid
%thead
%tr
%th ID
%th Name
- if @competition.age_group_type
%th Age Group
%th= RepresentationType.description
%tbody
... | .nobreak
%h3= "Wave #{wave}"
- if wave_times.count > 0
%h4= wave_times.where(wave: wave).first.try(:scheduled_time)
%table.full.grid
%thead
%tr
%th ID
%th Name
- if @competition.age_group_type
%th Age Group
%th= RepresentationType.description
%tbody
... | Add pagebreak after each wave | Add pagebreak after each wave
Fixes #557
| Haml | mit | rdunlop/unicycling-registration,rdunlop/unicycling-registration,rdunlop/unicycling-registration,rdunlop/unicycling-registration |
6186737bca500a470153796cf0e493d7e35ae079 | app/views/layouts/application.html.haml | app/views/layouts/application.html.haml | !!!
%html
%head
%title Translatable
/[if lt IE 8]
= stylesheet_link_tag "application"
= javascript_include_tag "application"
= csrf_meta_tags
%link{:rel => "Shortcut Icon", :type => "image/ico", :href => asset_path("favicon.png")}
%body
.topbar
.topbar-inner
.container... | !!!
%html
%head
%title translatable
/[if lt IE 8]
= stylesheet_link_tag "application"
= javascript_include_tag "application"
= csrf_meta_tags
%link{:rel => "Shortcut Icon", :type => "image/ico", :href => asset_path("favicon.png")}
%body
.topbar
.topbar-inner
.container... | Remove new link. Make the name lowercase | Remove new link. Make the name lowercase
| Haml | mit | perryqh/translatable,g5search/translatable,perryqh/translatable,g5search/translatable |
8c2c266cbfe3e864d01b988ecd81000d1d3dd057 | app/views/shared/_sprintstatuspanel.html.haml | app/views/shared/_sprintstatuspanel.html.haml | .panel.panel-default
- tasks_sprint = @sprint.project.tasks.unscoped.done.where('updated_at >= ?', @sprint.created_at).where('updated_at <= ?', @sprint.updated_at)
.panel-body.hidden-xs
%strong
Highest tasks
.list-group.hidden-xs
- if tasks_sprint.empty?
.list-group-item
Nothing to ra... | .panel.panel-default
- tasks_sprint = Task.unscoped.done.where('updated_at >= ?', @sprint.created_at).where('updated_at <= ?', @sprint.updated_at).where(project: @sprint.project)
.panel-body.hidden-xs
%strong
Highest tasks
.list-group.hidden-xs
- if tasks_sprint.empty?
.list-group-item
... | Fix highest task in sprint panel | Fix highest task in sprint panel
| Haml | agpl-3.0 | FiloSpaTeam/thinks,FiloSpaTeam/thinks,FiloSpaTeam/thinks |
7c22376ae89e61066af245277bb277d00aa1a1c4 | app/views/submissions/_sidebar_show.html.haml | app/views/submissions/_sidebar_show.html.haml | .col-md-3.sidebar
%ul#sidebar.nav.sidenav
%li
%h4
Actions
.menu-icon-container
%span.glyphicon.glyphicon-tasks.menu-icon
%hr/
%li.sidebar-item
%a{:href => "/submissions/#{@assignment.id}/new"}
%span.glyphicon.glyphicon-plus
New submission
- if !@su... | .col-md-3.sidebar
%ul#sidebar.nav.sidenav
%li
%h4
Actions
.menu-icon-container
%span.glyphicon.glyphicon-tasks.menu-icon
%hr/
%li.sidebar-item
%a{:href => "/submissions/#{@assignment.id}/new"}
%span.glyphicon.glyphicon-plus
New submission
- if !@su... | Fix capitalisation on submission deletion alert | Fix capitalisation on submission deletion alert
| Haml | mit | frankzhao/SubmissionApp2,frankzhao/SubmissionApp2,frankzhao/SubmissionApp2,frankzhao/SubmissionApp2 |
ffcc91834849767100d8156ab8084b824da757a0 | app/views/contractors/index.html.haml | app/views/contractors/index.html.haml | %h1 Who profits from WestConnex?
%ul.contractors
- @contractors.each do |contractor|
%li.contractor
%h2.contractor-name= contractor.name
%span.contractor-value= number_to_currency(contractor.total_est_contract_value, precision: 0)
%h3.contract-counter= pluralize(contractor.contracts.count, "cont... | %h1 Who profits from WestConnex?
%ul.contractors
- @contractors.each do |contractor|
%li.contractor
%h2.contractor-name= contractor.name
%span.contractor-value= number_to_currency(contractor.total_est_contract_value, precision: 0)
%h3.contract-counter= pluralize(contractor.contracts.count, "cont... | Add the value and link to each contract | Add the value and link to each contract
| Haml | agpl-3.0 | equivalentideas/wc-profiteers,equivalentideas/wc-profiteers,equivalentideas/wc-profiteers |
00ecf3ae4099ddf6bf6a30d1be75c08b912149d6 | app/views/public_pages/home.html.haml | app/views/public_pages/home.html.haml | .ui.text.container
%h1 Awww yeahhh!
%p You've got the app setup!
| .ui.center.aligned.container
.ui.welcome.segment
%h1 Awww yeahhh!
%p
You've got the app setup!
%br
That was the easy part
%p
If this starter app helped you get up and running in any way, I accept:
%br
Thanks:
%a{href: 'https://twitter.com/amingilani'} @amingilani
... | Add content to the home page | Add content to the home page
| Haml | bsd-3-clause | payloadtech/payload,amingilani/starter-web-app,payloadtech/payload,payloadtech/payload,amingilani/starter-web-app,amingilani/starter-web-app |
1d533723ecef004ed3b0eee2e4795d9435c99ddb | app/views/speakers/edison.html.haml | app/views/speakers/edison.html.haml | -# Chicago Ideas Week
-# speakers/edison.html.haml
-# 05/21/2012
-# Begin Main Speaker content
%section.container#main_content
%img{ :src => "/assets/application/edison_logo.jpg", :rel => "bookmark", :title => "", :width => "1000", :height => "350" }
%div#edison_info
%div
%p Edison Talks... | -# Chicago Ideas Week
-# speakers/edison.html.haml
-# 05/21/2012
-# Begin Main Speaker content
%section.container#main_content
%img{ :src => "/assets/application/edison_logo.jpg", :rel => "bookmark", :title => "", :width => "1000", :height => "350" }
%div#edison_info
%div
%p Edison Talks... | Tweak to Edison Talks Landing page text | Tweak to Edison Talks Landing page text
| Haml | mit | frangucc/chicago_ideas,craigulliott/chicago_ideas,frangucc/chicago_ideas,craigulliott/chicago_ideas |
58d63a66a084fc38ffcd72972afa388110e29fc1 | app/views/projects/badges/index.html.haml | app/views/projects/badges/index.html.haml | - page_title 'Badges'
.prepend-top-10
.panel.panel-default
.panel-heading
%b Builds badge ·
= @badge.to_html
.panel-body
%table.table
%tr
%td Markdown
%td= markdown("```markdown\n#{@badge.to_markdown}\n```")
%tr
%td HTML
%td= ma... | - page_title 'Badges'
.prepend-top-10
.panel.panel-default
.panel-heading
%b Builds badge ·
= @badge.to_html
.panel-body
.row
.col-md-2.text-center
Markdown
.col-md-10
= markdown("```markdown\n#{@badge.to_markdown}\n```")
.row
%hr
... | Improve view with list of badges | Improve view with list of badges
| Haml | mit | t-zuehlsdorff/gitlabhq,dwrensha/gitlabhq,larryli/gitlabhq,martijnvermaat/gitlabhq,t-zuehlsdorff/gitlabhq,mr-dxdy/gitlabhq,LUMC/gitlabhq,mr-dxdy/gitlabhq,icedwater/gitlabhq,mmkassem/gitlabhq,iiet/iiet-git,daiyu/gitlab-zh,dplarson/gitlabhq,dwrensha/gitlabhq,axilleas/gitlabhq,axilleas/gitlabhq,openwide-java/gitlabhq,openw... |
6a8ab0b848d768e0a6e6fd7ba9e128cdb5068401 | app/views/assignments/_form.html.haml | app/views/assignments/_form.html.haml | .container-fluid
= form_for @assignment, url: path do |f|
.row
.col-2.offset-3
.form-group
= f.label :user_id
= f.collection_select :user_id, @users, :id, :last_name,
{}, class: 'form-control custom-select'
.col-4
.form-group
... | .container-fluid
= form_for @assignment, url: path do |f|
= f.hidden_field :roster_id, value: @roster.id
.row
.col-2.offset-3
.form-group
= f.label :user_id
= f.collection_select :user_id, @users, :id, :last_name,
{}, class: 'form-control custo... | Fix up form: roster_id, default dates | Fix up form: roster_id, default dates
| Haml | mit | umts/screaming-dinosaur,umts/screaming-dinosaur,umts/screaming-dinosaur |
fc1e5466a39e07dda835ae4b3cc1d504dfb00ab6 | app/views/layouts/_nav_menu.html.haml | app/views/layouts/_nav_menu.html.haml | %nav.navbar.navbar-fixed-top.navbar-inverse
.navbar-inner
.container
%a.btn.btn-navbar(data-target=".nav-collapse" data-toggle="collapse")
%span.icon-bar
%span.icon-bar
%span.icon-bar
%a.logo.hidden-phone{href: 'http://higgins.org'}
%img{src: '/assets/higgins-logo.gif'}... | %nav.navbar.navbar-fixed-top.navbar-inverse
.navbar-inner
.container
%a.btn.btn-navbar(data-target=".nav-collapse" data-toggle="collapse")
%span.icon-bar
%span.icon-bar
%span.icon-bar
%a.logo.hidden-phone{href: 'http://higgins.org'}
%img{src: '/assets/higgins-logo.gif'}... | Change nav link from higgins armory to WAM | Change nav link from higgins armory to WAM
| Haml | mit | shammond42/higgins-catalog,shammond42/higgins-catalog,shammond42/higgins-catalog,shammond42/higgins-catalog |
105fc5c6c0ebfd603a8becee536f0c7c69caafed | app/views/site/comments/new.html.haml | app/views/site/comments/new.html.haml | .new-site-comment-form
%h1= t ".title"
= semantic_form_for @site_comment, remote: true do |f|
= f.inputs do
= f.input :body
= f.input :name
= f.input :email
= f.input :context_url, as: :hidden, value: request.referer
= f.buttons do
= f.commit_button
= cancel_link root_pat... | .new-site-comment-form
%h1= t ".title"
= semantic_form_for @site_comment, remote: true do |f|
= f.inputs do
= f.input :body
= f.input :name
= f.input :email
= f.input :context_url, as: :hidden, value: request.referer
= f.buttons do
= f.commit_button button_html: { data: { disab... | Reduce the number of duplicate feedbacks by disabling the submit button. | Reduce the number of duplicate feedbacks by disabling the submit button.
| Haml | mit | auto-mat/toolkit,cyclestreets/cyclescape,auto-mat/toolkit,cyclestreets/cyclescape,cyclestreets/cyclescape |
32cdf63f3208fa92e5f1ef475479137907c9adc1 | source/shared/_page.haml | source/shared/_page.haml | %div{ class: "card card--#{status} mbm" }
%h2= link_to page, link, target: '_blank'
%p{ class: ('mbf' unless note) }
%strong Status:
- if status == 'success'
%span.tsi= data.status.success_status
- elsif status == 'warning'
%span.tsi= data.status.warning_status
- else
%span.tsi= da... | %div{ class: "card card--#{status} mbm" }
%h2= link_to page, link
%p{ class: ('mbf' unless note) }
%strong Status:
- if status == 'success'
%span.tsi= data.status.success_status
- elsif status == 'warning'
%span.tsi= data.status.warning_status
- else
%span.tsi= data.status.error_st... | Remove the target '_blank' attribute from links | Remove the target '_blank' attribute from links
| Haml | mit | drewbarontini/minder,drewbarontini/minder |
191752cd76e84a77deee267199c6924b144dd167 | app/views/admin/posts/edit.html.haml | app/views/admin/posts/edit.html.haml | - page_title("Editando Post")
.ribbon Administración de Posts
= render 'pills'
%h2.title
Editando Post ##{@article.id}
%small= link_to "Ver original", @article, :target => '_blank'
= render 'form', :post => @post
| - page_title("Editando Post")
.ribbon Administración de Posts
= render 'pills'
%h2.title
Editando Post ##{@post.id}
%small= link_to "Ver original", @post, :target => '_blank'
= render 'form', :post => @post
| Fix copy/paste bug in admin/posts/edit | Fix copy/paste bug in admin/posts/edit
| Haml | mit | jschwindt/Venganzas-del-Pasado,jschwindt/Venganzas-del-Pasado,jschwindt/Venganzas-del-Pasado,jschwindt/Venganzas-del-Pasado |
5a309afcc6497611e107d80dd232855734f66622 | app/views/line_items/_form.html.haml | app/views/line_items/_form.html.haml | %tr.line_item.nested-form-item
%td= line_item.text_field :date, :style => 'width: 85px', 'date-picker' => 'true'
%td= line_item.text_field :title, :required => true, :style => 'width: 30em'
%td= line_item.text_field :times, :required => true, :style => 'width: 3em', :autocomplete => "off"
%td= line_item.select ... | %tr.line_item.nested-form-item
%td= line_item.text_field :date, :style => 'width: 85px', 'date-picker' => 'true'
%td= line_item.text_field :title, :required => true, :style => 'width: 30em'
%td= line_item.text_field :times, :required => true, :style => 'width: 3em', :autocomplete => "off"
%td= line_item.select ... | Fix code generation for booking_template selection in line_item form. | Fix code generation for booking_template selection in line_item form.
| Haml | agpl-3.0 | silvermind/bookyt,wtag/bookyt,hauledev/bookyt,wtag/bookyt,huerlisi/bookyt,hauledev/bookyt,xuewenfei/bookyt,gaapt/bookyt,gaapt/bookyt,xuewenfei/bookyt,huerlisi/bookyt,hauledev/bookyt,silvermind/bookyt,silvermind/bookyt,silvermind/bookyt,gaapt/bookyt,wtag/bookyt,huerlisi/bookyt,hauledev/bookyt,gaapt/bookyt,xuewenfei/book... |
6b47668250a91d224cba04a7bd4757fc93557006 | app/views/constitutions/coop/show.html.haml | app/views/constitutions/coop/show.html.haml | %h2
Rules of
= co.name
.section
TODO: Rules text here.
| %h2
Rules of
= co.name
.section
= link_button("Propose an amendment to the rules", :url => edit_constitution_path)
%br.clear
.section
TODO: Rules text here.
| Add an edit button to the co-op rules page. | Add an edit button to the co-op rules page.
| Haml | agpl-3.0 | oneclickorgs/one-click-orgs,oneclickorgs/one-click-orgs,oneclickorgs/one-click-orgs,oneclickorgs/one-click-orgs |
bdbc1efa42d996bd5907fd0f126f84b092c269cf | app/views/pitches/_action_buttons.html.haml | app/views/pitches/_action_buttons.html.haml | - if pitch.editable_by?(current_user) || pitch.featureable_by?(current_user) || pitch.postable_by?(current_user) || (pitch.story && pitch.fact_checker == current_user) || (pitch.fully_funded? && current_user == pitch.user)
.block-spacer-negative
- if pitch.editable_by?(current_user)
.centered= link_to image_tag("ed... | - if pitch.editable_by?(current_user) || pitch.featureable_by?(current_user) || pitch.postable_by?(current_user)
.block-spacer-negative
- if pitch.editable_by?(current_user)
.centered= link_to image_tag("edit_this_pitch_b.png"), edit_pitch_path(pitch)
- if pitch.featureable_by?(current_user)
- if pitch.featured?
... | Remove excessive logic in action buttons partial | Remove excessive logic in action buttons 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 |
bb910f791dbabae5c0075e505749ea5cb3576422 | app/views/letters/_letter.html.haml | app/views/letters/_letter.html.haml | %tr
%td
= author_view?(letter) ? letter.patient.full_name : letter.author.full_name
%td
= letter.letter_description.text
%td
= letter.state
%td
= letter.updated_at
%td
= link_to 'Edit', edit_patient_letter_path(patient_id: letter.patient.to_param, id: letter.to_param), class: 'button tiny'... | %tr
%td
= author_view?(letter) ? letter.patient.full_name : letter.author.full_name
%td
= letter.letter_description.text
%td
= letter.state
%td
= letter.updated_at
%td
= link_to 'Edit', edit_patient_letter_path(patient_id: letter.patient.to_param, id: letter.to_param)
|
... | Streamline patient letters action links | Streamline patient letters action links
| Haml | mit | airslie/renalware-core,airslie/renalware-core,airslie/renalware-core,airslie/renalware-core |
d1241f46a006c38e0db32fbbdc06755f7bc9d458 | app/views/discover/_userbox.haml | app/views/discover/_userbox.haml | .card{ data: { id: u.id } }
.card-body
.media
.pull-left
%a{ href: user_path(u) }
%img.avatar-md.mr-2{ src: u.profile_picture.url(:medium) }
.media-body
%h6.media-heading.answerbox__question-user
- if u.profile.display_name.blank?
%a{ href: user_path(u) ... | .card{ data: { id: u.id } }
.card-body
.media
.pull-left
%a{ href: user_path(u) }
%img.avatar-md.mr-2{ src: u.profile_picture.url(:medium) }
.media-body
%h6.media-heading.answerbox__question-user
- if u.profile.display_name.blank?
%a{ href: user_path(u) ... | Add new translations for Discover userbox | Add new translations for Discover userbox
| Haml | agpl-3.0 | Retrospring/retrospring,Retrospring/retrospring,Retrospring/retrospring,Retrospring/retrospring,Retrospring/retrospring |
56a291f056ebb36b2302f26e33560dd606580c2e | app/views/sketches/new.html.haml | app/views/sketches/new.html.haml | - @page_title = "Create New District"
- content_for :javascript do
= javascript_include_tag 'new_sketch.js'
#new_sketch_page
#picture_frame
#stage
= form_for @sketch do |f|
= hidden_field_tag :sketch_token, @sketch.token
= hidden_field_tag :combined_code, @sketch.district.combined_code
= f... | - @page_title = "Create New District"
- content_for :javascript do
= javascript_include_tag 'new_sketch.js'
#new_sketch_page
#picture_frame
#stage
= form_for @sketch do |f|
= hidden_field_tag :sketch_token, @sketch.token
= hidden_field_tag :combined_code, @sketch.district.combined_code
= f... | Tweak new page about text | Tweak new page about text | Haml | bsd-3-clause | sunlightlabs/bdad,sunlightlabs/bdad |
7a273246eb8fe04299109e22d3ff291a30f4bf08 | app/views/message_threads/_priority_panel.html.haml | app/views/message_threads/_priority_panel.html.haml | - if signed_in?
.priority-panel
%h3= t ".thread_priority"
= semantic_form_for (@thread.priority_for(current_user) || UserThreadPriority.new), url: thread_user_priorities_path(@thread) do |f|
= f.inputs do
= f.input :priority, :as => :select, :collection => f.object.class.priorities_map
= f... | - if signed_in?
%section.priority-panel
%h2= t ".thread_priority"
= semantic_form_for (@thread.priority_for(current_user) || UserThreadPriority.new), url: thread_user_priorities_path(@thread) do |f|
= f.inputs do
= f.input :priority, :as => :select, :collection => f.object.class.priorities_map
... | Tweak priority panel to match other panels | Tweak priority panel to match other panels
| Haml | mit | cyclestreets/cyclescape,cyclestreets/cyclescape,auto-mat/toolkit,cyclestreets/cyclescape,auto-mat/toolkit |
85f6b49ec4e649184d62b4baaca3941a35cbc5d4 | themes/densitypop/views/layout.haml | themes/densitypop/views/layout.haml | !!! 5
%html
%head
%title densitypop.com - Cleveland-based Web Consulting, iPad R&D, Online Store Design
%link(rel="stylesheet" href="http://webfonts.justanotherfoundry.com/Facit/")
%link(rel="stylesheet" href="http://webfonts.justanotherfoundry.com/Lapture/")
%link(rel="stylesheet" href="/css/scre... | !!! 5
%html
%head
%title densitypop.com - Cleveland-based Web Consulting, iPad R&D, Online Store Design
%meta(name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0")
%link(rel="stylesheet" href="http://webfonts.justanotherfoundry.com/Facit/")
%link(rel="stylesheet" href... | Set viewport size & disable scaling for iPhone | Set viewport size & disable scaling for iPhone | Haml | mit | densitypop/densitypop.com |
d59066a35118d9ca4cba11bc5b0e832fab931355 | app/views/projects/_show.html.haml | app/views/projects/_show.html.haml | .tabbable
%ul.nav.nav-tabs
%li.active= link_to 'Details', '#tab-details', {:data => {:toggle => 'tab'}}
%li= link_to 'Stundenrapport', '#tab-activities', {:data => {:toggle => 'tab'}}
.tab-content
#tab-details.tab-pane.active
= render "form"
#tab-activities.tab-pane
= render 'show_activities'
| .tabbable
%ul.nav.nav-tabs
%li.active= link_to 'Details', '#tab-details', {:data => {:toggle => 'tab'}}
%li= link_to t_title(:list, Activity), '#tab-activities', {:data => {:toggle => 'tab'}}
.tab-content
#tab-details.tab-pane.active
= render "form"
#tab-activities.tab-pane
= render 'show_activit... | Use translations for activities tab in projects. | Use translations for activities tab in projects.
| Haml | mit | huerlisi/bookyt_projects,raskhadafi/bookyt_projects,huerlisi/bookyt_projects,raskhadafi/bookyt_projects,huerlisi/bookyt_projects |
fd0cd0b59b3bb22e2d35cad7d8bc98b3cb59a949 | source/layouts/conference_layout.haml | source/layouts/conference_layout.haml | = wrap_layout :base_layout do
.conference_layout{ class: "#{'sub_page' if current_page.data.sub_page}" }
%section.hero
.hero-inner
.hero-copy
%h1
2015 International Conference for
%br.header-break/
Women Software Developers
%a.small{ href: '#... | = wrap_layout :base_layout do
.conference_layout{ class: "#{'sub_page' if current_page.data.sub_page}" }
%section.hero
.hero-inner
.hero-copy
%h1
2015 International Conference for
%br.header-break/
Women Software Developers
%a.small{ href: '#... | Add scholarship link to conf layout | Add scholarship link to conf layout
| Haml | mit | dalrayes/writespeakcode.github.io,dalrayes/writespeakcode.github.io,dalrayes/writespeakcode.github.io,rachelober/writespeakcode.github.io,rachelober/writespeakcode.github.io,rachelober/writespeakcode.github.io |
3437c68db3006c7e9cff6196ccfd0fc25403a7b3 | app/views/ransack_ui/_search.html.haml | app/views/ransack_ui/_search.html.haml | = search_form_for @ransack_search, :url => url_for(:action => :index), :html => {:method => :get, :class => "ransack_search"}, :remote => !!options[:remote] do |f|
:javascript
if (window.Ransack == null) { window.Ransack = {}; }
Ransack.alt_predicates_i18n = #{I18n.translate(:"ransack.predicates.alt", :defau... | = search_form_for @ransack_search, :url => url_for(:action => :index), :html => {:method => :get, :class => "ransack_search"}, :remote => !!options[:remote] do |f|
:javascript
if (window.Ransack == null) { window.Ransack = {}; }
Ransack.alt_predicates_i18n = #{I18n.translate(:"ransack.predicates.alt", :defau... | Use a single container for search form, split with hr | Use a single container for search form, split with hr
| Haml | mit | scottbarrow/ransack_ui,Guestfolio/ransack_ui,ndbroadbent/ransack_ui,leikir/ransack_ui,ndbroadbent/ransack_ui,ndbroadbent/ransack_ui,Guestfolio/ransack_ui,leikir/ransack_ui,leikir/ransack_ui,scottbarrow/ransack_ui,Guestfolio/ransack_ui,scottbarrow/ransack_ui |
1cde66beec37decc0d44efb87da5413443a26c39 | app/views/browse/_user_selections_controls.html.haml | app/views/browse/_user_selections_controls.html.haml | %p
= label_tag(:'location-type', 'Location type')
= select_tag(:'location-type', options_for_select(view_state.location_type_options))
%p
= label_tag(:'location-term', 'Search for a location')
= text_field_tag(:'location-term')
%button{ type: 'submit', value: 'search', name: 'form-action' }
Search
| %p
= label_tag(:'location-type', 'Location type')
= select_tag(:'location-type', options_for_select(view_state.location_type_options))
%p
= label_tag(:'location-term', 'Search for a location')
= text_field_tag(:'location-term')
%button{ type: 'submit', value: 'search', name: 'form-action' }
Search
%h3.... | Add dates to user preferences form | Add dates to user preferences form
| Haml | mit | epimorphics/ukhpi,epimorphics/ukhpi,epimorphics/ukhpi,epimorphics/ukhpi |
13a68f414f0aa499bd5286f1f934a047ff1f9ab5 | app/views/phrasing_phrases/edit.html.haml | app/views/phrasing_phrases/edit.html.haml | .edit
%h2= @phrasing_phrase.key
= button_to "Delete this item", phrasing_phrase_path(@phrasing_phrase), :method => :delete, :onclick => "return confirm('Are you sure?');"
= form_for @phrasing_phrase, :url => { :action => "update" } do |f|
= f.text_area :value, :rows => 12
= f.submit "Update"
= link_to "... | .edit
%h2= @phrasing_phrase.key
= link_to "Delete Phrase", phrasing_phrase_path(@phrasing_phrase), class: "btn btn-danger delete-phrase", :method => :delete, :onclick => "return confirm('Are you sure?');"
= form_for @phrasing_phrase, :url => { :action => "update" } do |f|
= f.text_area :value, :rows => 12
... | Edit page improved w/ version listing | Edit page improved w/ version listing
| Haml | mit | 1000ideas/phrasing,infinum/phrasing,aniltimt/phrasing,1000ideas/phrasing,paulewetzel/phrasing,infinum/phrasing,paulewetzel/phrasing,aniltimt/phrasing,paulewetzel/phrasing,infinum/phrasing,aniltimt/phrasing |
effd49fbe95592637cd5dfa262d0439a95b5f0ce | app/views/assets/_index_actions.html.haml | app/views/assets/_index_actions.html.haml | - if @organization_list.count > 1
= form_tag inventory_index_path, :id => 'filter_form', :method => "get", :class => 'navbar-form navbar-right panel-action' do
= hidden_field_tag :asset_type, @asset_type
= hidden_field_tag :asset_subtype, @asset_subtype
= hidden_field_tag :start_row, 0
.form-group
... | - if @organization_list.count > 1
= form_tag inventory_index_path, :id => 'filter_form', :method => "get", :class => 'navbar-form navbar-right panel-action' do
= hidden_field_tag :asset_type, @asset_type
= hidden_field_tag :asset_subtype, @asset_subtype
= hidden_field_tag :start_row, 0
.form-group
... | Allow engines to drop UI components on the asset index actions panel header | Allow engines to drop UI components on the asset index actions panel header
| Haml | mit | nycdot/transam_core,camsys/transam_core,camsys/transam_core,camsys/transam_core,camsys/transam_core,nycdot/transam_core,nycdot/transam_core |
1de3c021f75bb550a7fe3fb2766a52d33e591492 | app/views/layouts/_nav.html.haml | app/views/layouts/_nav.html.haml | %li= link_to 'Home', root_path
%li= link_to 'Team', team_path
%li= link_to 'Camp', 'https://camp.hackclub.com'
%li= link_to 'Projects', 'https://shipped.hackclub.com'
%li= link_to 'Apply', apply_path
%li= link_to 'Donate', donate_path
| %li= link_to 'Home', root_path
%li= link_to 'Team', team_path
%li= link_to 'Camp', 'https://camp.hackclub.com'
%li= link_to 'Workshops', 'https://workshops.hackclub.com'
%li= link_to 'Projects', 'https://shipped.hackclub.com'
%li= link_to 'Apply', apply_path
%li= link_to 'Donate', donate_path
| Add workshops link to nav bar | Add workshops link to nav bar
| Haml | mit | zachlatta/website,hackedu/website,hackedu/website,zachlatta/website,hackedu/website,zachlatta/website |
4101786f1ceb3a6a282aefe63363b27b1773a1d2 | app/views/home/show.html.haml | app/views/home/show.html.haml | %h2 Popular tags right now
-if @tags
=render partial: "tags/tag", collection: @tags
-else
%p No tags found.
-unless @lists.empty?
%h2 Popular lists right now
=render @lists
-else
%p No lists created yet.
| .u-bg-grey-light.u-mb-5
.container.u-py-5
%h2 Popular tags right now
-if @tags
=render partial: "tags/tag", collection: @tags
-else
%p No tags found.
.container
-unless @lists.empty?
%h2 Popular lists right now
=render @lists
-else
%p No lists created yet.
| Add grey background, add container classes. | Add grey background, add container classes.
| Haml | mit | kirillis/mytopten,krisimmig/mytopten,kirillis/mytopten,krisimmig/mytopten,krisimmig/mytopten,kirillis/mytopten |
ae871243bb34dd848c5288e17adfd405cb391ccf | source/index.haml | source/index.haml | .jumbotron
.container
%center
%h1
Welcome to the Atlas Documentation
%h5
The official, curated documentation for Atlas map configuration files. Please choose a language below:
%center
= link_to '/en', :class => 'btn btn-link btn-lg' do
%p
= image_tag('http://lipis.github.i... | .jumbotron
.container
%center
%h1
Welcome to the Atlas Documentation
%h5
The official, curated documentation for Atlas map configuration files. Please choose a language below:
%center
= link_to '/en', :class => 'btn btn-link btn-lg' do
%p
= image_tag('https://lipis.github.... | Fix mixed content SSL error | Fix mixed content SSL error
 | Haml | mit | Avicus/docs.avicus.net,Avicus/docs.avicus.net,Avicus/atlas.avicus.net,Avicus/docs.avicus.net,Avicus/atlas.avicus.net,Avicus/atlas.avicus.net |
f9cfa6542447a393f697a4754a3413ebe2ab60fe | app/views/employees/show.html.haml | app/views/employees/show.html.haml | .contextual
= link_to t_action('edit'), edit_employee_path(@employee)
= link_to t_action('index'), employees_path
%h1= t_title
= @employee.vcard.try(:full_name)
%h2= t_title :index, Employment
- @employments = @employee.employments.paginate(:page => params[:page])
= render 'employments/list'
| .contextual
= link_to t_action('edit'), edit_employee_path(@employee)
= link_to t_action('index'), employees_path
%h1= t_title
= @employee.vcard.try(:full_name)
.contextual
= link_to t_action('new', Employment), new_employment_path, :remote => true, :class => "icon icon-add"
%h2= t_title :index, Employment
#ne... | Implement AJAX adding of employment to employees. | Implement AJAX adding of employment to employees.
| Haml | agpl-3.0 | gaapt/bookyt,xuewenfei/bookyt,hauledev/bookyt,gaapt/bookyt,xuewenfei/bookyt,huerlisi/bookyt,wtag/bookyt,hauledev/bookyt,huerlisi/bookyt,huerlisi/bookyt,hauledev/bookyt,hauledev/bookyt,xuewenfei/bookyt,silvermind/bookyt,gaapt/bookyt,silvermind/bookyt,silvermind/bookyt,wtag/bookyt,silvermind/bookyt,gaapt/bookyt,wtag/book... |
724b6c1b05ed236439fc68e3960846e046dc50c8 | app/views/matrices/index.html.haml | app/views/matrices/index.html.haml |
%table{:id => "matrices", :class => "table table-striped"}
%thead
%tr
%th Group/Name
%th Num Rows
%th Num Cols
%th Nonzeros
%th Kind
%th Symmetric
%th Date
%th Author
%th Editor
%th Notes
%th Download File
%tbody
- @matrices.each do |matrix|... |
%table{:id => "matrices", :class => "table table-striped"}
%thead
%tr
%th Group/Name
%th Num Rows
%th Num Cols
%th Nonzeros
%th Kind
%th Symmetric
%th Date
%th Author
%th Editor
%th Notes
%th Download File
%tbody
- @matrices.each do |matrix|... | Fix colspan bug in Safari | Fix colspan bug in Safari
colspan=0 (to span all columns) doesn’t seem to work in some browsers.
Just used colspan=42, don’t panic.
| Haml | mit | ScottKolo/UFSMC-Web,ScottKolo/suitesparse-matrix-collection-website,ScottKolo/suitesparse-matrix-collection-website,ScottKolo/suitesparse-matrix-collection-website,ScottKolo/suitesparse-matrix-collection-website,ScottKolo/UFSMC-Web,ScottKolo/suitesparse-matrix-collection-website,ScottKolo/UFSMC-Web |
4c0ff5727e7938404e60a7b0c5f1293fc79eb7de | app/views/receipts/index.html.haml | app/views/receipts/index.html.haml | .container
%h1 Receipts
= paginate @receipts
- @receipts.each do |receipt|
%div.panel.panel-default
%div.panel-heading
= time_ago_in_words(receipt.date)
ago
(#{receipt.date.to_s(:long)})
%div.panel-body
%table.table
%thead
%tr
... | .container
%h1 Receipts
= paginate @receipts
- @receipts.each do |receipt|
%div.panel.panel-default
%div.panel-heading
= time_ago_in_words(receipt.date)
ago
(#{receipt.date.to_s(:long)})
%div.panel-body
%table.table
%thead
%tr
... | Use rails helper to do the formatting of currency | Use rails helper to do the formatting of currency
| Haml | agpl-3.0 | mlandauer/foodlist,mlandauer/foodlist,mlandauer/foodlist |
a37f0a6595ef787020a4db7a1b6290625ed4e7d9 | app/views/layouts/_messages.html.haml | app/views/layouts/_messages.html.haml | - has_errors = !flash.first.nil?
- if has_errors
%aside.messages
- num_msgs = has_errors ? flash.first.second.count : 0
- num_msgs.times do |idx|
- flash.each do |name, msgs|
- msg = msgs[idx]
- if msg.is_a?(String)
%p{ :class => name }= msg
-# Licensed under the ISC licence, ... | - has_errors = !flash[:error].empty?
- if has_errors
%aside.messages
- num_msgs = has_errors ? flash.first.second.count : 0
- num_msgs.times do |idx|
- flash.each do |name, msgs|
- msg = msgs[idx]
- if msg.is_a?(String)
%p{ :class => name }= msg
-# Licensed under the ISC licen... | Create the message box only if there are errors to be shown | Create the message box only if there are errors to be shown
| Haml | isc | cceh/sanskrit-web,cceh/sanskrit-web,cceh/sanskrit-web |
b604461866a4b8c7c18f434b39379326f90f0f72 | app/assets/templates/_home-header.html.haml | app/assets/templates/_home-header.html.haml | / %button.btn-refresh
/ %i.icon-repeat
%h1 {{ pageTitle() }}
%small.search-infos{'ng-show' => 'results'}
%span{'ng-show' => 'settings.page > 0'} Page {{ settings.page + 1 }} of
%ng-pluralize{count: 'results.nbHits', when: '{"0": "No results", "one": "1 result", "other": "{{ results.nbHits | number }} results"}'}
... | / %button.btn-refresh
/ %i.icon-repeat
%h1 {{ pageTitle() }}
%small.search-infos{'ng-show' => 'results'}
%span{'ng-show' => 'settings.page > 0'} Page {{ settings.page + 1 }} of
%ng-pluralize{count: 'results.nbHits', when: '{"0": "No results", "one": "1 result", "other": "{{ results.nbHits | number }} results"}'}
... | Hide some date range if hot | Hide some date range if hot
| Haml | mit | leavjenn/hn-search,sammarcus/hn-search,sammarcus/hn-search,leavjenn/hn-search,leavjenn/hn-search,leavjenn/hn-search,sammarcus/hn-search,sammarcus/hn-search |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.