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 |
|---|---|---|---|---|---|---|---|---|---|
51d4743b0af4891284f5e285cf63ba55cc0ffe94 | app/views/data/layouts/_initialize_graph.html.haml | app/views/data/layouts/_initialize_graph.html.haml | #canvas
:javascript
var converter_url_prefix = "#{data_converters_path()}";
var update_converter_positions_path = "#{data_layout_path}";
var data;
$.getJSON(data_json_url, function(json_data) {
data = json_data;
for (var key in data['present']['1']) {
$('#attribute').append($('<option></option>')... | #canvas
:javascript
var converter_url_prefix = "#{data_converters_path()}";
var update_converter_positions_path = "#{data_layout_path}";
var data;
$.getJSON(data_json_url, function(json_data) {
data = json_data;
for (var key in data['present']['1']) {
$('#attribute').append($('<option></option>')... | Fix broken reference to the topology.js partial. | Fix broken reference to the topology.js partial.
Closes #537.
| Haml | mit | quintel/etengine,quintel/etengine,quintel/etengine,quintel/etengine |
f266d51ba1960e521d09c1fefa0088e5c0bb6575 | app/views/trackers/new.html.haml | app/views/trackers/new.html.haml | #contents
=h1 "Proposer une entrée dans le suivi"
- if @preview_mode
= render "preview", :preview => @tracker
- else
= image_tag "dessins/geekscottes_068.png", :alt => "Tu coderas pour moi !", :title => "Tu coderas pour moi ! - © Johann 'nojhan' Dréo : 2007-11-07 - Licence CC By-Sa 2.5"
= form_for @tr... | #contents
=h1 "Proposer une entrée dans le suivi"
- if @preview_mode
= render "preview", :preview => @tracker
- else
= image_tag "dessins/geekscottes_068.png", :alt => "Tu coderas pour moi !", :title => "Tu coderas pour moi ! - © Johann 'nojhan' Dréo : 2007-11-07 - Licence CC By-Sa 2.5"
.notice
%s... | Add a notice on the tracker creation form | Add a notice on the tracker creation form
| Haml | agpl-3.0 | linuxfrorg/linuxfr.org,cykl/linuxfr.org,cykl/linuxfr.org,linuxfrorg/linuxfr.org,linuxfrorg/linuxfr.org,linuxfrorg/linuxfr.org |
c027704935b9903342ddf69a84e8eafb8040ee83 | app/views/breeze/admin/commerce/store/settings.html.haml | app/views/breeze/admin/commerce/store/settings.html.haml | - content_for :left do
= render :partial => "breeze/admin/commerce/commerce/left"
- content_for :head do
= stylesheet_link_tag asset_path "breeze/store.css"
- content_for :title, "Store settings"
= pane_layout do |panes|
= panes.inner do
= scrollable_layout do
= breeze_form_for store, :url => admin_... | - content_for :left do
= render :partial => "breeze/admin/commerce/commerce/left"
- content_for :head do
= stylesheet_link_tag asset_path "breeze/store.css"
- content_for :title, "Store settings"
= pane_layout do |panes|
= panes.inner do
= scrollable_layout do
= breeze_form_for store, :url => admin_... | Store setting to disallow returning customer workflow | Store setting to disallow returning customer workflow
| Haml | mit | conversionfoundry/breeze_commerce,conversionfoundry/breeze_commerce |
fd390bc3e4d1b6e03bf84c69a6e8657f39284cb6 | app/views/home/_recent_student_report_learner_list.html.haml | app/views/home/_recent_student_report_learner_list.html.haml | %table.student_list
%tr
%th
%div.progressbar_container
In Progress
%th
%div.progressbar_container
- students.each do |student|
- learner = learners.find_by_student_id(student.id)
- report_learner = nil
- unless learner.nil?
- report_learner = learner.re... | %table.student_list
%tr
%th
%div.progressbar_container
In Progress
%th
%div.progressbar_container
- students.each do |student|
- learner = learners.find_by_student_id(student.id)
- report_learner = nil
- unless learner.nil?
- report_learner = learner.re... | Add nil check for 'last_run' timestamp | Add nil check for 'last_run' timestamp
- Add nil check for the 'last_run' timestamp for report learners.
| Haml | mit | concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse |
ca2306e55e811f11933b57e2f143c4ebc823ec4e | app/views/wishlists/_form.html.haml | app/views/wishlists/_form.html.haml | %fieldset.center
%legend.hidden Add Wishlist
- remote_form_for @wishlist do |f|
#errors.error{ :style => "display: none" }= f.error_messages
= f.label :item_name, 'Item Name'
= f.text_field :item_name, :class => 'large'
.radio-check
= f.radio_button :priority, 'normal'
= f.label :p... | %fieldset.center
%legend.hidden Add Wishlist
- remote_form_for @wishlist do |f|
#errors.error{ :style => "display: none" }= f.error_messages
= f.label :item_name, 'Item Name'
= f.text_field :item_name, :class => 'large'
= f.label :note, 'Note'
= f.text_field :note, :class => 'large'
... | Add the note field directly onto the form. So far, no support for getting it from the item name with brackets. | Add the note field directly onto the form. So far, no support for getting it from the item name with brackets.
| Haml | mit | tsigo/jugglf,tsigo/jugglf |
0eb6d9aaedd2f1699a048b2d3482c967836462d5 | app/views/home/_hubs_table.html.haml | app/views/home/_hubs_table.html.haml | .active_table
%hub.active_table_node.row.animate-repeat{"ng-repeat" => "hub in filteredEnterprises = (#{enterprises} | visible | taxons:activeTaxons | shipping:shippingTypes | showHubProfiles:show_profiles | orderBy:['-active', '+distance', '+orders_close_at'])",
"ng-class" => "{'is_profile' : hub.category == 'hub_... | .active_table
%hub.active_table_node.row{"ng-repeat" => "hub in filteredEnterprises = (#{enterprises} | visible | taxons:activeTaxons | shipping:shippingTypes | showHubProfiles:show_profiles | orderBy:['-active', '+distance', '+orders_close_at'])",
"ng-class" => "{'is_profile' : hub.category == 'hub_profile', 'clos... | Disable animate-repeat on shops listing entirely - previous fix was not 100% successful | Disable animate-repeat on shops listing entirely - previous fix was not 100% successful
| Haml | agpl-3.0 | lin-d-hop/openfoodnetwork,lin-d-hop/openfoodnetwork,mkllnk/openfoodnetwork,lin-d-hop/openfoodnetwork,RohanM/openfoodnetwork,Matt-Yorkley/openfoodnetwork,mkllnk/openfoodnetwork,KosenkoDmitriy/openfoodnetwork,oeoeaio/openfoodnetwork,levent/openfoodnetwork,KateDavis/openfoodnetwork,mkllnk/openfoodnetwork,Em-AK/openfoodnet... |
ed22d992d338ad71b86966dbd8303c449e632828 | app/views/lists/_list_item.html.haml | app/views/lists/_list_item.html.haml | %li
%img{src: list_item.image_url}/
%span=list_item.title
%p=list_item.description
=link_to "REF", list_item.link
| %li
%a{ href: list_item.image_large }
%img{ src: list_item.image_thumb }/
%span=list_item.title
%p=list_item.description
Link:
=link_to "#{list_item.link}", list_item.link
| Use large and thumb images. | Use large and thumb images.
| Haml | mit | kirillis/mytopten,kirillis/mytopten,krisimmig/mytopten,krisimmig/mytopten,kirillis/mytopten,krisimmig/mytopten |
9acc67d4137ff1710523a56d38436b19b21e5246 | app/views/shared/_google_maps_js.html.haml | app/views/shared/_google_maps_js.html.haml | - if !ContentConfig.open_street_map_enabled
%script{src: "//maps.googleapis.com/maps/api/js?libraries=places,geometry#{ ENV['GOOGLE_MAPS_API_KEY'] ? '&key=' + ENV['GOOGLE_MAPS_API_KEY'] : ''} "}
| - if !ContentConfig.open_street_map_enabled
%script{src: "https://maps.googleapis.com/maps/api/js?libraries=places,geometry#{ ENV['GOOGLE_MAPS_API_KEY'] ? '&key=' + ENV['GOOGLE_MAPS_API_KEY'] : ''} "}
| Use https when loading google maps JS | Use https when loading google maps JS
| Haml | agpl-3.0 | mkllnk/openfoodnetwork,openfoodfoundation/openfoodnetwork,lin-d-hop/openfoodnetwork,mkllnk/openfoodnetwork,openfoodfoundation/openfoodnetwork,openfoodfoundation/openfoodnetwork,lin-d-hop/openfoodnetwork,openfoodfoundation/openfoodnetwork,lin-d-hop/openfoodnetwork,mkllnk/openfoodnetwork,mkllnk/openfoodnetwork,lin-d-hop/... |
bfc9a36e5faf52290123a9c9c66a945ea22a797e | app/views/homes/show.html.haml | app/views/homes/show.html.haml | .listItem.showPageItem{"data-id" => @home.id}
= render partial: 'homes/home', locals: { home: @home }
.showPageContent
%p
%strong #{t('restrooom.directions')}:
= @home.directions
%p
%strong #{t('home.comments')}:
= @home.comment
%p= link_to t('home.contact.contactlisting'), contact_path(home_id:... | .listItem.showPageItem{"data-id" => @home.id}
= render partial: 'homes/home', locals: { home: @home }
.showPageContent
%p
%strong #{t('restrooom.directions')}:
= @home.directions
%p
%strong #{t('home.comments')}:
= @home.comment
%p= link_to t('home.contact.contactlisting'), contact_path(home_id:... | Remove disqus comments from home listing | Remove disqus comments from home listing
| Haml | agpl-3.0 | mathonsunday/welcomehome,mathonsunday/welcomehome |
ce231a406532333f07b0c7b41407f26c551b4e59 | app/views/posts/show.html.haml | app/views/posts/show.html.haml | - title strip_tags "Blog - #{@post.title}"
- page_title strip_tags "Blog - #{@post.title}"
= render :partial => "post", :locals => { :post => @post }
= render :partial => "post_separator"
#comments
- if (can? :read, @post) && @post.comments.length > 0
%h2 #{pluralize @post.comments.length, "Comment"}
= rend... | - title strip_tags "Blog - #{@post.title}"
- page_title strip_tags "Blog - #{@post.title}"
= render :partial => "post", :locals => { :post => @post }
= render :partial => "post_separator"
#comments
- if (can? :read, @post)
- if @post.comments.length > 0
%h2 #{pluralize @post.comments.length, "Comment"}
... | Hide comment box if not allowed | Hide comment box if not allowed
| Haml | mit | shaine/squidtree |
6ba7c448c43b1797f8740ae71d827c31f28611e9 | app/views/users/show.html.haml | app/views/users/show.html.haml | - model_class = User
- content_for :actions do
%li
= link_to 'edit user', [:edit, @user]
%li
= link_to 'delete user', @user, :method => :delete, :confirm => "Really delete #{@user.name}’s account?"
.page-header
%h1
= "Hi, #{@user.name}"
%small
Pick Your Poison.
.row
.col-xs-3.col-sm-2.col... | - model_class = User
- content_for :actions do
%li
= link_to 'edit user', @user, :method => :edit
%li
= link_to 'delete user', @user, :method => :delete, :confirm => "Really delete #{@user.name}’s account?"
.page-header
%h1
= "Hi, #{@user.name}"
%small
Pick Your Poison.
.row
.col-xs-3.col... | Fix the link to edit user settings. | Fix the link to edit user settings.
Former-commit-id: b32666f4b069de9ace13f1d8391c511756703849 | Haml | mit | chaosdorf/mete,chaosdorf/mete,chaosdorf/mete,YtvwlD/mete,YtvwlD/mete,YtvwlD/mete,YtvwlD/mete,chaosdorf/mete |
27af71729cd261eca912e82a33d4e63a26c2c819 | app/views/days/_form.html.haml | app/views/days/_form.html.haml | = semantic_form_for @day do |f|
= f.semantic_errors
= f.inputs do
= f.inputs
= f.buttons do
= f.commit_button
| = semantic_form_for @day do |f|
= f.semantic_errors
= f.inputs do
= f.input :date, :as => :date_field, :input_html => {"data-autofocus" => true, :size => 10, :style => 'text-align: right'}
= f.input :cash, :input_html => {:size => 12, :style => 'text-align: right'}
= f.input :card_turnover, :input_html ... | Use specific input fields in day form. | Use specific input fields in day form.
| Haml | agpl-3.0 | wtag/bookyt,huerlisi/bookyt,gaapt/bookyt,hauledev/bookyt,wtag/bookyt,huerlisi/bookyt,xuewenfei/bookyt,wtag/bookyt,xuewenfei/bookyt,huerlisi/bookyt,hauledev/bookyt,silvermind/bookyt,hauledev/bookyt,gaapt/bookyt,silvermind/bookyt,silvermind/bookyt,hauledev/bookyt,gaapt/bookyt,silvermind/bookyt,gaapt/bookyt,xuewenfei/book... |
7e16e568225ccdb5e66f33d517f290532078d91b | app/views/users/show.html.haml | app/views/users/show.html.haml | .row
.span3
= image_tag @user.gravatar_url
%h1= @user.name
%h2= @user.nickname
%ul
- unless @user.company.blank?
%li= @user.company
- unless @user.blog.blank?
%li= link_to @user.blog, @user.blog
.span9
%p= link_to "See on GitHub", @user.github_url
- if @user.scr... | .row
.span3
= image_tag @user.gravatar_url
%h1= @user.name
%h2= @user.nickname
%ul
- unless @user.company.blank?
%li= @user.company
- unless @user.blog.blank?
%li= link_to @user.blog, @user.blog
.span9
%p= link_to "See on GitHub", @user.github_url
- if @user.scr... | Tidy layout when description is missing | Tidy layout when description is missing
| Haml | agpl-3.0 | openaustralia/morph,OpenAddressesUK/morph,openaustralia/morph,OpenAddressesUK/morph,otherchirps/morph,OpenAddressesUK/morph,otherchirps/morph,openaustralia/morph,otherchirps/morph,openaustralia/morph,openaustralia/morph,openaustralia/morph,otherchirps/morph,otherchirps/morph,otherchirps/morph,OpenAddressesUK/morph,open... |
1d321c5a183f06532bf7715d986fd6025e3104f5 | app/views/home/location.html.haml | app/views/home/location.html.haml | .container-fluid
.row#banner
.col-sm-12
This is a placeholder
.row#navbar_row
= render partial: 'shared/navbar'
.col-sm-6#content_box
%p
<iframe src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d3104.4626811121434!2d-77.0202769!3d38.913401!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x... | .container-fluid
.row#banner
.col-sm-12
This is a placeholder
.row#navbar_row
= render partial: 'shared/navbar'
.col-sm-6#content_box
%p
<iframe src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d3105.15039415107!2d-77.03653!3d38.897676000000004!3m2!1i1024!2i768!4f13.1!3m3!1m2... | Change location to the White House | Change location to the White House
| Haml | apache-2.0 | Makita/onestopauto,Makita/onestopauto |
fcfd5454ea95326d9050e3799b32f75139f8c327 | app/views/members/index.html.haml | app/views/members/index.html.haml | - provide(:title, 'メンバー')
- provide(:description, '京大アンプラグドのメンバー一覧')
%nav.nav.nav-pills.nav-justified.mb-3
- Member.joined_years.each do |year|
= link_to year, year_members_path(year: year), class: "nav-item nav-link#{year == @year ? ' active' : ''}"
.row
= render @members
| - provide(:title, 'メンバー')
- provide(:description, '京大アンプラグドのメンバー一覧')
%nav.nav.nav-pills.mb-3
- Member.joined_years.each do |year|
= link_to year, year_members_path(year: year), class: "nav-item nav-link#{year == @year ? ' active' : ''}"
.row
= render @members
| Remove `.nav-justified` class from members/index nav | Remove `.nav-justified` class from members/index nav
| Haml | mit | sankichi92/LiveLog,sankichi92/LiveLog,sankichi92/LiveLog,sankichi92/LiveLog |
3334015ed6e26d85133ba73d6104596afc4ca150 | extensions/pages/ranked_vote_page/app/views/ranked_vote_page/show.html.haml | extensions/pages/ranked_vote_page/app/views/ranked_vote_page/show.html.haml | - content_for :right_sidebar do
= render :partial => 'pages/sidebar/sidebar'
%ul.possibles.plain
- @sorted_possibles.each do |possible|
- winner = 'winner' if (@poll.winners.any? and @poll.winners.include? possible.id)
%li{:class => winner}
.rank= @poll.rank(possible.id)
%span.winner= "(" + :top... | - content_for :right_sidebar do
= render :partial => 'pages/sidebar/sidebar'
%ul.possibles.plain
- @sorted_possibles.each do |possible|
- winner = 'winner' if (@poll.winners.any? and @poll.winners.include? possible.id)
%li{:class => winner}
.rank= @poll.rank(possible.id)
%span.winner= "(" + :top... | Tweak to not throw error for possibles that are not a first choice for any user. | Tweak to not throw error for possibles that are not a first choice for any user.
| Haml | agpl-3.0 | elijh/crabgrass-core,elijh/crabgrass-core,elijh/crabgrass-core |
4cb092ed2ae57c2889c78b584a5e2dc679189cb0 | app/views/activity_line_items/_form.html.haml | app/views/activity_line_items/_form.html.haml | .row
= simple_form_for([@project, @activity_line_item],
:html => {:class => 'form-horizontal' },
:wrapper => :horizontal_form,
:wrapper_mappings => {:check_boxes => :horizontal_radio_and_checkboxes, :radio_buttons => :horizontal_radio_and_checkboxes, :file => :horizontal_file_input, :boolean => :horizonta... | .row
= simple_form_for([@project, @activity_line_item],
:html => {:class => 'form-horizontal' },
:wrapper => :horizontal_form,
:wrapper_mappings => {:check_boxes => :horizontal_radio_and_checkboxes, :radio_buttons => :horizontal_radio_and_checkboxes, :file => :horizontal_file_input, :boolean => :horizonta... | Fix activity line items form | Fix activity line items form
| Haml | mit | camsys/transam_cpt,camsys/transam_cpt,camsys/transam_cpt,camsys/transam_cpt |
a1d8eb39bd641f28c67731899dc97a9a880d19d0 | app/views/movies/_movie_filters_nav.html.haml | app/views/movies/_movie_filters_nav.html.haml | %ul.nav.nav-pills.movie-filters
= active_link_to 'Popular', movies_path(o: :popular), wrap_tag: :li, active: /^\/$|popular/
= active_link_to 'Top Rated', movies_path(o: :top_rated), wrap_tag: :li, active: /top_rated/
= active_link_to 'Upcoming', movies_path(o: :upcoming), wrap_tag: :li, active: ... | %ul.nav.nav-tabs.movie-filters
= active_link_to 'Popular', movies_path(o: :popular), wrap_tag: :li, active: /^\/$|popular/
= active_link_to 'Top Rated', movies_path(o: :top_rated), wrap_tag: :li, active: /top_rated/
= active_link_to 'Upcoming', movies_path(o: :upcoming), wrap_tag: :li, active: /... | Switch from nav-pills to nav-tabs | Switch from nav-pills to nav-tabs
| Haml | mit | kostyadubinin/movies,kostyadubinin/movies,kostyadubinin/movies |
19608d3ee027efb27ecf83671a85487040287619 | app/views/projects/artifacts/browse.html.haml | app/views/projects/artifacts/browse.html.haml | - page_title 'Artifacts', "#{@build.name} (##{@build.id})", 'Builds'
= render 'projects/builds/header_title'
.top-block.gray-content-block.clearfix
.pull-right
= link_to download_namespace_project_build_artifacts_path(@project.namespace, @project, @build),
class: 'btn btn-default' do
= icon('download... | - page_title 'Artifacts', "#{@build.name} (##{@build.id})", 'Builds'
= render 'projects/builds/header_title'
.top-block.gray-content-block.clearfix
.pull-right
= link_to download_namespace_project_build_artifacts_path(@project.namespace, @project, @build),
class: 'btn btn-default' do
= icon('download... | Fix double request issue in artifacts browser | Fix double request issue in artifacts browser
| Haml | mit | mr-dxdy/gitlabhq,duduribeiro/gitlabhq,icedwater/gitlabhq,LUMC/gitlabhq,daiyu/gitlab-zh,axilleas/gitlabhq,jrjang/gitlab-ce,allysonbarros/gitlabhq,daiyu/gitlab-zh,dreampet/gitlab,duduribeiro/gitlabhq,dwrensha/gitlabhq,dwrensha/gitlabhq,dreampet/gitlab,yatish27/gitlabhq,t-zuehlsdorff/gitlabhq,t-zuehlsdorff/gitlabhq,mr-dxd... |
138012e88f5f80f166d5492edcc4e232d0ccec84 | app/views/home/today.html.haml | app/views/home/today.html.haml | %h2#today-title Today
- if current_user.has_event?
= link_to new_workout_path, class: 'btn btn-block btn-huge btn-primary' do
Today's Workout
.event
%h3 You are training for
%h4= current_user.event.name.html_safe
%h5
Location:
= current_user.event.location
%h5
Date:
= cu... | %h2#today-title Today
- if current_user.has_event?
= link_to new_workout_path, class: 'btn btn-block btn-huge btn-primary' do
Today's Workout
.event
%h3 You are training for
%h4= current_user.event.name.html_safe
%h5
Location:
= current_user.event.location
%h5
Date:
= cu... | Change button styling for new event | Change button styling for new event
| Haml | mit | NateBarnes/hashiru,NateBarnes/hashiru |
70fe671c299513a43797dc1e7ab0e32f14503175 | app/views/projects/merge_requests/show/_versions.html.haml | app/views/projects/merge_requests/show/_versions.html.haml | - merge_request_diffs = @merge_request.merge_request_diffs.select_without_diff
- if merge_request_diffs.size > 1
.mr-version-switch
Version:
%span.dropdown.inline
%a.btn-link.dropdown-toggle{ data: {toggle: :dropdown} }
%strong.monospace<
- if @merge_request_diff.latest?
#... | - merge_request_diffs = @merge_request.merge_request_diffs.select_without_diff
- if merge_request_diffs.size > 1
.mr-version-switch
Version:
%span.dropdown.inline
%a.btn-link.dropdown-toggle{ data: {toggle: :dropdown} }
%strong.monospace<
- if @merge_request_diff.latest?
#... | Make it more obvious when the user isn't currently viewing the latest mr version | Make it more obvious when the user isn't currently viewing the latest mr version
Signed-off-by: Dmitriy Zaporozhets <be23d75b156792e5acab51b196a2deb155d35d6a@gmail.com>
| Haml | mit | iiet/iiet-git,jirutka/gitlabhq,icedwater/gitlabhq,allysonbarros/gitlabhq,daiyu/gitlab-zh,axilleas/gitlabhq,mr-dxdy/gitlabhq,stoplightio/gitlabhq,htve/GitlabForChinese,allysonbarros/gitlabhq,shinexiao/gitlabhq,mr-dxdy/gitlabhq,htve/GitlabForChinese,openwide-java/gitlabhq,dreampet/gitlab,t-zuehlsdorff/gitlabhq,iiet/iiet-... |
b65ae940edea9f0df59ea4327e08be110b68164f | app/views/searches/_keyword_search_result_detail.html.haml | app/views/searches/_keyword_search_result_detail.html.haml | %tr
%td
.row
.col-md-12
%h4.pull-left.media-heading
= link_to "#{search_result.object_class}: #{search_result.summary}"
%p.text-muted.pull-right
= search_result.object_key
.col-md-12
%p= search_result.search_text
| %tr
%td
.row
.col-md-12
%h4.pull-left.media-heading
= link_to "#{search_result.object_class}: #{search_result.summary}", eval(search_result.name)
%p.text-muted.pull-right
= search_result.object_key
.col-md-12
%p= search_result.search_text
| Fix path for search result | Fix path for search result
| Haml | mit | camsys/transam_core,camsys/transam_core,nycdot/transam_core,camsys/transam_core,nycdot/transam_core,camsys/transam_core,nycdot/transam_core |
de8eee87d9efbdaa2aa5bf4817eb8503b7185778 | dashboard/app/views/shared/_courseblock_action.haml | dashboard/app/views/shared/_courseblock_action.haml | - if current_user && showState
.clear
- script = Script.find_by_name(id)
- if current_user.completed_scripts.include?(script)
= link_to script_certificate_image_url(current_user, script), class: 'whitelink' do
.bottombar.smalltext.printcertificate
= t('home.print_certificate')
- elsif current_... | - if current_user && showState
.clear
- script = Script.find_by_name(id)
- user_script = current_user.user_scripts.where(script_id: script.id).first
- next_unpassed_progression_level = current_user.next_unpassed_progression_level(script)
- if user_script.try(:completed_at)
= link_to script_certificate_i... | Fix studio.code.org for some users with incorrect course completion. Since deploying changes to studio.code.org yesterday, we've seen 46 cases in which a user hits an error on the page. The error happens when a user has completed all levels in a course, but for some reason user_script.completed_at is still nil and the ... | Fix studio.code.org for some users with incorrect course completion.
Since deploying changes to studio.code.org yesterday, we've seen 46 cases in which a user hits an error on the page. The error happens when a user has completed all levels in a course, but for some reason user_script.completed_at is still nil and the... | Haml | apache-2.0 | rvarshney/code-dot-org,pickettd/code-dot-org,pickettd/code-dot-org,pickettd/code-dot-org,rvarshney/code-dot-org,ty-po/code-dot-org,pickettd/code-dot-org,dillia23/code-dot-org,rvarshney/code-dot-org,dillia23/code-dot-org,pickettd/code-dot-org,ty-po/code-dot-org,ty-po/code-dot-org,rvarshney/code-dot-org,dillia23/code-dot... |
c81958c14cb3683dd5c27e3c3a188a1b334cce43 | app/views/shared/dialogs/_dialog_field_drop_down_list.html.haml | app/views/shared/dialogs/_dialog_field_drop_down_list.html.haml | - if edit
- select_values = field.values.collect(&:reverse)
- selected ||= wf.value(field.name)
= select_tag(field.name, options_for_select(select_values, selected), drop_down_options(field, url))
:javascript
dialogFieldRefresh.initializeDialogSelectPicker('#{field.name}', '#{field.id}', '#{selected}', '#{... | - if edit
- select_values = field.values.collect(&:reverse)
- selected ||= wf.value(field.name)
= select_tag(field.name, options_for_select(select_values, selected), drop_down_options(field, url))
:javascript
dialogFieldRefresh.initializeDialogSelectPicker('#{field.name}', '#{field.id}', '#{selected}', '#{... | Fix value of dynamic dropdown list in prov. request details screen | Fix value of dynamic dropdown list in prov. request details screen
https://bugzilla.redhat.com/show_bug.cgi?id=1336015
(transferred from ManageIQ/manageiq@77d6afda1171cfd90516c579423f045a8540a96d)
| Haml | apache-2.0 | ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic |
57b638faaa1b76be4e0d923d13055bef485dce36 | app/views/moderation/inbox/index.haml | app/views/moderation/inbox/index.haml | - provide(:title, generate_title(t(".title", user: @user.screen_name)))
= render "header", user: @user, hidden: false
= render "header", user: @user, hidden: true
.container-lg.container--main
= turbo_frame_tag "moderation_inbox" do
#entries
- @inboxes.each do |i|
= render "inbox/entry", i: i
... | - provide(:title, generate_title(t(".title", user: @user.screen_name)))
= render "header", user: @user, hidden: false
= render "header", user: @user, hidden: true
.container-lg.container--main
#entries
- @inboxes.each do |i|
= render "inbox/entry", i: i
- if @more_data_available
.d-flex.justify-con... | Remove turbo-frame tag in moderation inbox view | Remove turbo-frame tag in moderation inbox view
| Haml | agpl-3.0 | Retrospring/retrospring,Retrospring/retrospring,Retrospring/retrospring,Retrospring/retrospring,Retrospring/retrospring |
b8a6f915962062ce8dbd6059beca739fd1ba70ce | src/templates/haml/user/lost_password_email_sent.html.haml | src/templates/haml/user/lost_password_email_sent.html.haml | .grd-grid-12
%p= l("Thank you. You're one step closer to being done!")
%p!= l("All you need to do is follow the instructions in the email we just sent you. The e-mail subject-line reads, <strong>New Password Request</strong>.")
%p!= l("Remember, if you don't receive an email from us in the next few minutes, pleas... | - stash(title => l('Password reset'));
.grd-grid-12
%h1= stash->{title}
%p= l("Thank you. You're one step closer to being done!")
%p!= l("All you need to do is follow the instructions in the email we just sent you. The e-mail subject-line reads, <strong>New Password Request</strong>.")
%p!= l("Remember, if you ... | Add title to password email sent template | Add title to password email sent template
| Haml | apache-2.0 | einhverfr/binary-static,animeshsaxena/binary-static,borisyankov/binary-static,tfoertsch/binary-static,brodiecapel16/binary-static,borisyankov/binary-static,animeshsaxena/binary-static,einhverfr/binary-static,junbon/binary-static-www2,massihx/binary-static,tfoertsch/binary-static,borisyankov/binary-static,junbon/binary-... |
0263ad16f4899e38e86c5335aca4f937e5ab85a7 | app/views/admissions/_promo.html.haml | app/views/admissions/_promo.html.haml | = render 'admission_header', admission_video: true
#promo
%h2
= admission.title
%br
= "#{t('admissions.deadline')}:"
=l admission.shown_application_deadline, format: :short
- if admission.shown_application_deadline < Time.current
%br
%span{ style: "color: #a03033; text-decoration: und... | = render 'admission_header', admission_video: true
#promo
%h2
= admission.title
%br
= "#{t('admissions.deadline')}:"
=l admission.shown_application_deadline, format: :short
- if admission.shown_application_deadline < Time.current
%br
%span{ style: "color: #a03033; text-decoration: und... | Use Can^3 for permissions for admission buttons | Use Can^3 for permissions for admission buttons
| Haml | mit | Samfundet/Samfundet,Samfundet/Samfundet,Samfundet/Samfundet,Samfundet/Samfundet |
5746ba29da2d78a07f44bd77ae1f62b47486d64d | app/views/users/description/champs/_piece_justificative.html.haml | app/views/users/description/champs/_piece_justificative.html.haml | - pj = champ.piece_justificative_file
- if !pj.attached?
= file_field_tag "champs['#{champ.id}']",
id: "champs_#{champ.id}",
direct_upload: true,
mandatory: champ.mandatory
- else
%a{ href: url_for(pj), target: '_blank' }
= pj.filename.to_s
%br
Modifier :
= file_field_tag "champs['#{champ.id}... | - pj = champ.piece_justificative_file
- if !pj.attached?
= file_field_tag "champs['#{champ.id}']",
id: "champs_#{champ.id}",
direct_upload: true,
mandatory: champ.mandatory?
- else
%a{ href: url_for(pj), target: '_blank' }
= pj.filename.to_s
%br
Modifier :
= file_field_tag "champs['#{champ.id... | Fix a bug in the PJ PR | Fix a bug in the PJ PR | Haml | agpl-3.0 | sgmap/tps,sgmap/tps,sgmap/tps |
bad4bc59e59b6920185a3ba7dd42781810aee394 | app/views/tags/shared/_form.html.haml | app/views/tags/shared/_form.html.haml | - object = form.object
= form.form_group :label => {:text => t('.label')}, :class => '.tags' do
.taggle-container.js-tags-display
= form.collection_select(:keywords_attributes, Tag.all, :id, :value, {hide_label: :true}, include_blank: false, multiple: true,
id: 'tags--select',
... | - object = form.object
= form.collection_select(:keywords_attributes, Tag.all, :id, :value, {label: t('.label')}, include_blank: false, multiple: true,
id: 'tags--select',
class: 't-tags-select',
data: {dough_component: 'AutoComplete', dough... | Reorder and tidy tags HTML | Reorder and tidy tags HTML
| Haml | mit | moneyadviceservice/cms,moneyadviceservice/cms,moneyadviceservice/cms,moneyadviceservice/cms |
2f4068bc2ebb3c02b00872528fa78e03bc3d5210 | app/cells/plugins/core/tree/checkboxes.haml | app/cells/plugins/core/tree/checkboxes.haml | %h4
= render_label
- @options[:metadata]["data"]["tree_array"].each do |node|
= render_field_id
= cell(Plugins::Core::CheckboxCell, nil, form: @options[:form], node: node, data: data).(:checkbox)
| %h4
= render_label
%p
Please select 1-2 Categories.
- @options[:metadata]["data"]["tree_array"].each do |node|
= render_field_id
= cell(Plugins::Core::CheckboxCell, nil, form: @options[:form], node: node, data: data).(:checkbox)
| Add note about Categories max and min validation | Add note about Categories max and min validation | Haml | apache-2.0 | cortex-cms/cortex-field_types-core,cortex-cms/cortex-plugins-core,cortex-cms/cortex-field_types-core,cortex-cms/cortex-plugins-core,cortex-cms/cortex-plugins-core,cortex-cms/cortex-field_types-core |
815c186b29e801377ab552ecf3665c7732a61415 | app/views/admin/teams/members/new.html.haml | app/views/admin/teams/members/new.html.haml | %h3.page_title
Team: #{@team.name}
%fieldset
%legend Members (#{@team.members.count})
= form_tag admin_team_members_path(@team), id: "team_members", class: "bulk_import", method: :post do
%table#members_list
%thead
%tr
%th User name
%th Default project access
%th ... | %h3.page_title
New members for
= link_to @team.name, admin_team_path(@team)
team
%hr
= form_tag admin_team_members_path(@team), id: "team_members", class: "bulk_import", method: :post do
- if @team.errors.any?
.alert.alert-error
%span= @team.errors.full_messages.first
.clearfix
= label_tag :use... | Switch for from table to plain form without member list | Switch for from table to plain form without member list
| Haml | mit | yuyue2013/ss,manfer/gitlabhq,rebecamendez/gitlabhq,hacsoc/gitlabhq,vjustov/gitlabhq,dreampet/gitlab,gorgee/gitlabhq,t-zuehlsdorff/gitlabhq,NKMR6194/gitlabhq,k4zzk/gitlabhq,zBMNForks/gitlabhq,ngpestelos/gitlabhq,jrjang/gitlab-ce,johnmyqin/gitlabhq,ZeoAlliance/gitlabhq,jvanbaarsen/gitlabhq,darkrasid/gitlabhq,jairzh/gitla... |
61443f5f0e2bd8eb33f840e62a6df827c58371f7 | angular/core/components/poll/common/participant_form/poll_common_participant_form.haml | angular/core/components/poll/common/participant_form/poll_common_participant_form.haml | .poll-common-participant-form{ng-if: "!isLoggedIn()"}
%md-input-container.md-block
%label{translate: "poll_common.participant_name"}
%input.lmo-primary-form-input{type: "text", placeholder: "{{translations.namePlaceholder}}", ng-model: "stance.visitorAttributes.name"}
%validation_errors{subject: "stance",... | .poll-common-participant-form{ng-if: "!isLoggedIn()"}
%md-input-container.md-block
%label{translate: "poll_common.participant_name"}
%input.lmo-primary-form-input{type: "text", placeholder: "{{translations.namePlaceholder}}", ng-model: "stance.visitorAttributes.name"}
%validation_errors{subject: "stance",... | Add validation errors to participant name/email | Add validation errors to participant name/email
| Haml | agpl-3.0 | loomio/loomio,loomio/loomio,piratas-ar/loomio,loomio/loomio,piratas-ar/loomio,piratas-ar/loomio,piratas-ar/loomio,loomio/loomio |
42344198d0b21d6cb6f81aff076f3c0c076b2607 | app/views/layouts/_navbar.haml | app/views/layouts/_navbar.haml | %nav.navbar.navbar-default.with-icon
.container-fluid
.navbar-header
%a.navbar-brand{href: root_path}= image_tag 'favicon.png'
- if user_signed_in?
= link_to new_bus_stop_path do
%button.btn.btn-default.navbar-btn.navbar-left New Stop
- if current_user.admin?
= link_to new_us... | %nav.navbar.navbar-default.with-icon
.container-fluid
.navbar-header
%a.navbar-brand{href: root_path}= image_tag 'favicon.png'
- if user_signed_in?
- if current_user.admin?
= link_to new_user_path do
%button.btn.btn-default.navbar-btn.navbar-left New User
= link_to manage... | Remove 'New Stop' from navbar | Remove 'New Stop' from navbar
| Haml | mit | umts/stop-project,umts/stop-project,umts/stop-project |
df13c9cac927af8d9b72d674b44c3d8017e1c846 | app/views/users/show.html.haml | app/views/users/show.html.haml | .row
.col-md-8
%h3.page-title
= image_tag avatar_icon(@user.email, 90), class: "avatar avatar-tile s90", alt: ''
= @user.name
- if @user == current_user
.pull-right
= link_to profile_path, class: 'btn' do
%i.fa.fa-pencil-square-o
Edit Profile settings
... | .row
= link_to '#aside', class: 'show-aside' do
%i.fa.fa-angle-left
%section.col-md-8
%h3.page-title
= image_tag avatar_icon(@user.email, 90), class: "avatar avatar-tile s90", alt: ''
= @user.name
- if @user == current_user
.pull-right
= link_to profile_path, class: 'btn'... | Hide user page sidebar for mobilde devices | Hide user page sidebar for mobilde devices
| Haml | mit | nmav/gitlabhq,OlegGirko/gitlab-ce,hacsoc/gitlabhq,Burick/gitlabhq,per-garden/gitlabhq,fpgentil/gitlabhq,axilleas/gitlabhq,delkyd/gitlabhq,whluwit/gitlabhq,daiyu/gitlab-zh,fgbreel/gitlabhq,Devin001/gitlabhq,rumpelsepp/gitlabhq,aaronsnyder/gitlabhq,duduribeiro/gitlabhq,dukex/gitlabhq,folpindo/gitlabhq,Tyrael/gitlabhq,liy... |
1f72e4001cb0ffab62d2e5069c8c49bcd3dbe1dc | app/views/home/index.html.haml | app/views/home/index.html.haml | %div{"ng-controller" => "HomeCtrl"}
= render partial: "shared/menu/alert"
#tagline
.row
.small-12.text-center.columns
%h1
/ TODO: Rohan - logo asset & width is content manageable:
-# TODO: SVGify
%img{src: "/assets/logo-white-notext.png", width: "250", title: "Open F... | %div{"ng-controller" => "HomeCtrl"}
= render partial: "shared/menu/alert"
#tagline
.row
.small-12.text-center.columns
%h1
/ TODO: Rohan - logo asset & width is content manageable:
-# TODO: SVGify
%img{src: "/assets/logo-white-notext.png", width: "250", title: Spree::... | Use site name config for hero title | Use site name config for hero title
| Haml | agpl-3.0 | MikeiLL/openfoodnetwork,oeoeaio/openfoodnetwork,KosenkoDmitriy/openfoodnetwork,mkllnk/openfoodnetwork,Em-AK/openfoodnetwork,lin-d-hop/openfoodnetwork,KateDavis/openfoodnetwork,mkllnk/openfoodnetwork,Em-AK/openfoodnetwork,KateDavis/openfoodnetwork,RohanM/openfoodnetwork,mkllnk/openfoodnetwork,MikeiLL/openfoodnetwork,Mat... |
4bf48ee2c260bc13d3eb5579adcd62b5a90b972c | app/views/entries/_form.html.haml | app/views/entries/_form.html.haml | = form_with model: entry, local: true do |form|
= render 'shared/error_messages', errors: entry.errors
= fields model: entry.song do |song_form|
.form-group
= song_form.label :live_id
= song_form.collection_select :live_id, Live.unpublished.newest_order, :id, :date_and_name, {}, class: 'form-contro... | = form_with model: entry, local: true do |form|
= render 'shared/error_messages', errors: entry.errors
= fields model: entry.song do |song_form|
.form-group
= song_form.label :live_id
= song_form.collection_select :live_id, Live.unpublished.order(:date), :id, :date_and_name, {}, class: 'form-contro... | Fix live order of entry form | Fix live order of entry form
| Haml | mit | sankichi92/LiveLog,sankichi92/LiveLog,sankichi92/LiveLog,sankichi92/LiveLog |
9f6cd2fc8ab7784629b437d42d47655cf3710a3f | app/views/projects/show.html.haml | app/views/projects/show.html.haml | - provide :title, @project.name
%ul.breadcrumb
%li
= link_to 'Projects', projects_path
%span.divider /
%li= @project.name
%h3
%i.icon-book
= yield :title
- @project.viewports.each do |viewport|
%small.project-viewport= viewport
%small= link_to 'Edit', edit_project_path(@project)
- @project.ur... | - provide :title, @project.name
%ul.breadcrumb
%li
= link_to 'Projects', projects_path
%span.divider /
%li= @project.name
%h3
%i.icon-book
= yield :title
- @project.viewports.each do |viewport|
%small.project-viewport= viewport
%small= link_to 'Edit', edit_project_path(@project)
- @project.ur... | Add title attributes to URLs on projects/show | Add title attributes to URLs on projects/show
We have some styles on these elements that prevent them from being too
long. This is great, however it can make understanding the exact URL you
are looking at not super obvious. As a stopgap measure, I'm adding a
title attribute to these elements so you can at least hover ... | Haml | mit | diffux/diffux,kalw/diffux,diffux/diffux,diffux/diffux,kalw/diffux,kalw/diffux |
19ce41f70137605be3bdcdac69713691574236fa | app/views/pages/index.html.haml | app/views/pages/index.html.haml | %a#yesterday.colored-text-day.static{href: "#"}
%a#today.colored-text-day.static{href: "#"}
%a#tomorrow.colored-text-day.static{href: "#"}
%a#last-sunday.colored-text-day.static{href: "#"}
%a#this-sunday.colored-text-day.static{href: "#"}
%span#human-today.colored-text-day Loading…
%a#download-background-image.colore... | %a#yesterday.colored-text-day.static{href: "#"}
%a#today.colored-text-day.static{href: "#"}
%a#tomorrow.colored-text-day.static{href: "#"}
// %a#last-sunday.colored-text-day.static{href: "#"}
// %a#this-sunday.colored-text-day.static{href: "#"}
%span#human-today.colored-text-day Loading…
%a#download-background-image.... | Disable Sunday buttons; they need work | Disable Sunday buttons; they need work
| Haml | mit | thomas-profitt/tiny_harvest_dashboard,thomas-profitt/tiny_harvest_dashboard,thomas-profitt/tiny_harvest_dashboard |
e6e78175df13453ded82130243b39ca31cfa28ac | app/views/tasks/index.html.haml | app/views/tasks/index.html.haml | - provide :title, "Listing Tasks"
%table
%tr
%th User
%th Client
%th Name
%th Description
%th Notes
%th Status
%th Complexity
%th Priority
%th Due date
%th Rate
%th{colspan: 3} Actions
- @tasks.each do |task|
- @current_class = task
%tr
%td= task.user
... | - provide :title, "Listing Tasks"
%table
%tr
%th User
%th Client
%th Name
%th Notes
%th Status
%th Complexity
%th Priority
%th Due date
%th Rate
%th{colspan: 3} Actions
- @tasks.each do |task|
- @current_class = task
%tr
%td= task.user
%td= task.client
... | Remove Description Field From Task Index | Remove Description Field From Task Index
| Haml | agpl-3.0 | Moneyvate/invoices-site,Moneyvate/invoices-site,Moneyvate/invoices-site |
2dbfa1de27f5123b4be75b46cdebfae1f3fdbdeb | app/views/projects/blob/diff.html.haml | app/views/projects/blob/diff.html.haml | - if @lines.present?
- if @form.unfold? && @form.since != 1 && !@form.bottom?
%tr.line_holder
= render "projects/diffs/match_line", { line: @match_line,
line_old: @form.since, line_new: @form.since, bottom: false, new_file: false }
- @lines.each_with_index do |line, index|
- line_new = index ... | - if @lines.present?
- if @form.unfold? && @form.since != 1 && !@form.bottom?
%tr.line_holder
= render "projects/diffs/match_line", { line: @match_line,
line_old: @form.since, line_new: @form.since, bottom: false, new_file: false }
- @lines.each_with_index do |line, index|
- line_new = index ... | Put back removed line number | Put back removed line number
| Haml | mit | icedwater/gitlabhq,mr-dxdy/gitlabhq,Soullivaneuh/gitlabhq,Soullivaneuh/gitlabhq,openwide-java/gitlabhq,SVArago/gitlabhq,stoplightio/gitlabhq,martijnvermaat/gitlabhq,SVArago/gitlabhq,icedwater/gitlabhq,Soullivaneuh/gitlabhq,stoplightio/gitlabhq,axilleas/gitlabhq,stoplightio/gitlabhq,dplarson/gitlabhq,darkrasid/gitlabhq,... |
98baa2cf0c32791aa2b050120ff8c8618156a459 | app/views/shared/_navigation.html.haml | app/views/shared/_navigation.html.haml | .topbar-wrapper
.topbar{"data-dropdown" => "dropdown"}
.topbar-inner
.container-fluid
%h3
= link_to "Circle", root_path, :class => :brand
= render :partial => 'topbar_middle'
%ul.nav.secondary-nav
%li.dropdown
= link_to current_user.email, '#', :clas... | .topbar-wrapper
.topbar{"data-dropdown" => "dropdown"}
.topbar-inner
.container-fluid
%h3
= link_to "Circle", root_path, :class => :brand
= render :partial => 'topbar_middle'
%ul.nav.secondary-nav
%li.dropdown
= link_to current_user.email, '#', :clas... | Fix admin page - it used the wrong path for the dropdown. | Fix admin page - it used the wrong path for the dropdown.
| Haml | epl-1.0 | RayRutjes/frontend,circleci/frontend,prathamesh-sonpatki/frontend,circleci/frontend,prathamesh-sonpatki/frontend,circleci/frontend,RayRutjes/frontend |
d80dee3415b1a1dd90ebe90bf8cda17003af12e9 | app/views/common/_javascript_headers.html.haml | app/views/common/_javascript_headers.html.haml | - content_for :header_tags do
= stylesheet_link_tag 'application', plugin: 'redmine_git_hosting'
= stylesheet_link_tag 'jquery_tag_it', plugin: 'redmine_bootstrap_kit'
= stylesheet_link_tag 'bootstrap_custom', plugin: 'redmine_bootstrap_kit'
= stylesheet_link_t... | - content_for :header_tags do
= redmine_bootstrap_kit_load(:redmine_bootstrap_kit)
= redmine_bootstrap_kit_load(:bootstrap_alerts)
= redmine_bootstrap_kit_load(:bootstrap_label)
= redmine_bootstrap_kit_load(:bootstrap_modals)
= redmine_bootstrap_kit_load(:bootstrap_switch)
= redmine_bootstrap_kit_load(:boot... | Use RedmineBootstrapKit helper method to load JS and CSS | Use RedmineBootstrapKit helper method to load JS and CSS
| Haml | mit | stanclai/redmine_git_hosting,jbox-web/redmine_git_hosting,stanclai/redmine_git_hosting,stanclai/redmine_git_hosting,stanclai/redmine_git_hosting,jbox-web/redmine_git_hosting,jbox-web/redmine_git_hosting,stanclai/redmine_git_hosting,jbox-web/redmine_git_hosting |
be0df6a8c4330e0ec1941c4b5c7d157d7d4aa09a | app/views/components/forms/_dropdown.html.haml | app/views/components/forms/_dropdown.html.haml | .dropdown.js-select-group-manager{ class: "#{properties[:class]}#{properties[:options].empty? ? ' is-disabled' : ''}" }
%label.dropdown__value.js-select-overlay.icon--chevron-down--after
= properties[:selected] || properties[:placeholder] || properties[:options].first[:title] || ""
%select.dropdown__select.js... | - no_options = properties[:options].nil? || properties[:options].empty?
.dropdown.js-select-group-manager{ class: "#{properties[:class]}#{no_options ? ' is-disabled' : ''}" }
%label.dropdown__value.js-select-overlay.icon--chevron-down--after
- unless no_options
= properties[:selected] || properties[:placeh... | Fix check for no options to account for nil value as well. | Fix check for no options to account for nil value as well.
| Haml | mit | Lostmyname/rizzo,lonelyplanet/rizzo,lonelyplanet/rizzo,Lostmyname/rizzo,lonelyplanet/rizzo,lonelyplanet/rizzo,Lostmyname/rizzo,lonelyplanet/rizzo,Lostmyname/rizzo,Lostmyname/rizzo |
e9e84792a58f53788ff580bc46b023cf9ed26287 | app/views/dashboard/_blog.html.haml | app/views/dashboard/_blog.html.haml | %section.blog-feed
%hr
%h2.blog-feed__header
%a{href: "https://wikiedu.org", target: "_blank"}= t(:blog_headline, scope: [:dashboard])
.blog-feed__posts
- @blog_posts.first(3).each do |post|
.blog-post
- if post.enclosure
.blog-post__image
%img{src: post.enclosure.url,... | %section.blog-feed
%hr
%h2.blog-feed__header
%a{href: "https://wikiedu.org", target: "_blank"}= t(:blog_headline, scope: [:dashboard])
.blog-feed__posts
- @blog_posts.first(3).each do |post|
.blog-post
- if post.enclosure
.blog-post__image
%img{src: post.enclosure.url,... | Add placeholder image for dashboard blog feed | Add placeholder image for dashboard blog feed
| Haml | mit | MusikAnimal/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard,Wowu/WikiEduDashboard,Wowu/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard,sejalkhatri/WikiEduDashboard,MusikAnimal/WikiEduDashboard,sejalkhatri/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard,sejalkhatri/WikiEduDashboard,sejalkha... |
d7cd8dfadf6c387fcb1d8dffe7226e1d61015d5b | app/views/home/_searchbox.html.haml | app/views/home/_searchbox.html.haml | %div
%label{:for => "search-term"}
I need
%span
→
= search_field_tag "search-term", nil, :placeholder => "e.g. food"
%div
%label{:for => "search-near"}
I am near
%span
→
= search_field_tag :location, nil, :placeholder => "e.g. san mateo, ca"
%div/
/= button_tag
%button
%... | %div
%label{:for => "search-term"}
I need
%span
→
= search_field_tag "search-term", nil, :placeholder => "e.g. food"
%div
%label{:for => "search-near"}
I am near
%span
→
= search_field_tag "search-near", nil, :placeholder => "e.g. san mateo, ca"
%div/
/= button_tag
%button... | Set name of location search field to same as label for attribute | Set name of location search field to same as label for attribute
Location search-near label was not linked to search input field because
its name field different from the for attribute of the associated
label. This has been corrected.
| Haml | bsd-3-clause | ellpee/ohana-web-search,appropriate/ohana-web-search,hackforla/ohana-web-search-la,volkanunsal/nyc-prepared-search,marks/dmvpmh-ohana-web-search,appropriate/ohana-web-search,wesley1001/ohana-web-search,volkanunsal/nyc-prepared-search,codeforamerica/ohana-web-search,wesley1001/ohana-web-search,cderenburger/win211-ohana-... |
5ca332ae1c3772ab9c23f0b3794a7fc2b6eb71c5 | app/views/blog/posts/_form.html.haml | app/views/blog/posts/_form.html.haml |
= semantic_form_for(post, :url => polymorphic_url([:backend, post])) do |f|
= f.inputs do
= f.input :title
= f.input :body, :as => :text
= f.buttons do
= f.commit_button t("post.create")
|
= semantic_form_for(post, :url => polymorphic_url([:backend, post])) do |f|
= f.inputs do
= f.input :title
= f.input :body, :as => :text
= f.input :published_at, :as => :datetime
= f.buttons do
= f.commit_button t("post.create")
| Add 'published_at' to post form | Add 'published_at' to post form
| Haml | mit | jazen/blog,jazen/blog,jazen/blog |
f4f6c12bf648406d8b302666d5ddfe96896713a7 | app/views/shared/_topbar.haml | app/views/shared/_topbar.haml | .top-bar
.row
.top-bar-left
%ul.menu
%li= link_to t('site_name'), root_path
- if company_signed_in?
%li= link_to t('topbar.jobs'), offers_path
%li= link_to t('topbar.candidates'), candidates_path
-else
%li= link_to t('topbar.jobs_pl'), offers_path
... | .top-bar
.row
.top-bar-left
%ul.menu
%li= link_to t('site_name'), root_path
- if company_signed_in?
%li= link_to t('topbar.jobs'), offers_path
%li= link_to t('topbar.candidates'), candidates_path
-else
%li= link_to t('topbar.jobs_pl'), offers_path
... | Add language link to topbar | Add language link to topbar
| Haml | mit | moroz/hatarake,moroz/hatarake,moroz/hatarake,moroz/hatarake |
9c7fba3dc8ff4a3b84d1e3a018aed1d3470d405d | app/views/projects/_readme.html.haml | app/views/projects/_readme.html.haml | - if readme = @repository.readme
%article.file-holder.readme-holder{ id: 'readme', class: ("limited-width-container" unless fluid_layout) }
= render 'projects/blob/viewer', viewer: readme.rich_viewer, viewer_url: namespace_project_blob_path(@project.namespace, @project, tree_join(@repository.root_ref, readme.path... | - if (readme = @repository.readme) && (readme.rich_viewer)
%article.file-holder.readme-holder{ id: 'readme', class: ("limited-width-container" unless fluid_layout) }
.js-file-title.file-title
= blob_icon readme.mode, readme.name
= link_to project_blob_path(@project, tree_join(@ref, readme.path)) do
... | Add readme title and check for rich_viewer | Add readme title and check for rich_viewer
| Haml | mit | axilleas/gitlabhq,iiet/iiet-git,mmkassem/gitlabhq,mmkassem/gitlabhq,dreampet/gitlab,stoplightio/gitlabhq,axilleas/gitlabhq,axilleas/gitlabhq,stoplightio/gitlabhq,iiet/iiet-git,dreampet/gitlab,stoplightio/gitlabhq,mmkassem/gitlabhq,dreampet/gitlab,jirutka/gitlabhq,jirutka/gitlabhq,stoplightio/gitlabhq,mmkassem/gitlabhq,... |
525ebfa6be4ff3344030a7be0d4d06de67ff0587 | app/views/cadmus/pages/show.html.haml | app/views/cadmus/pages/show.html.haml | - content_for :page_content do
= cadmus_renderer.render(@page.liquid_template, :html)
- if can? :update, @page
.row
.col-md-9
= content_for :page_content
.col-md-3
.card
.card-header= @page.name
%ul.list-group.list-group-flush
%li.list-group-item
= link_to ... | - content_for :page_content do
= cadmus_renderer.render(@page.liquid_template, :html)
- if can? :update, @page
%nav.navbar.navbar-expand-md.navbar-dark.bg-dark.mb-4
.collapse.navbar-collapse
.navbar-brand
Admin options
.navbar-nav
= link_to "Edit page", [:edit, @page], class: 'nav-i... | Use a non-layout-breaking admin bar for pages | Use a non-layout-breaking admin bar for pages
| Haml | mit | neinteractiveliterature/intercode,neinteractiveliterature/intercode,neinteractiveliterature/intercode,neinteractiveliterature/intercode,neinteractiveliterature/intercode |
6049268c6ed5d4014ede7efec79bfa9ab31897b0 | app/views/comments/_comment.html.haml | app/views/comments/_comment.html.haml | .comment{ :id => "comment_#{comment.id}" }
.comment-inner
%h4.vcard.author
/* INSERT GRAVATAR THINGS HERE */
= link_to h(comment.author.name), user_profile_path(comment.author)
.comment-content
%h5.posted
Posted
%abbr.published.time-relative== #{time_ago_in_words(comment.crea... | .comment{ :id => "comment_#{comment.id}" }
.comment-inner
%h4.vcard.author
/* INSERT GRAVATAR THINGS HERE */
= link_to h(comment.author.name), user_profile_path(comment.author)
.comment-content
%h5.posted
Posted
%abbr.published.time-relative== #{time_ago_in_words(comment.crea... | Fix alignment of comment content | Fix alignment of comment content
Shift content over to be positioned correctly when rendering user
comments.
| Haml | agpl-3.0 | robinsonj/P4IdeaX,robinsonj/P4IdeaX |
cea90f0498cba305fa4545b7b6e6441dd2eb8cc3 | app/views/miq_request/_st_prov_show.html.haml | app/views/miq_request/_st_prov_show.html.haml | #main_div
- st = @miq_request.source
- ra = st.resource_actions.find_by_action('Provision') if st
- if ra && ra.dialog
- values = @miq_request.options[:dialog]
- opts = {:request_view => true}
%fieldset
%h3
= _("Dialog Options")
.row
.col-md-12.col-lg-12
= render ... | #main_div
- st = @miq_request.source
- ra = st.resource_actions.find_by_action('Provision') if st
- if ra && ra.dialog
- values = @miq_request.options[:dialog]
- opts = {:display_view_only => true}
%fieldset
%h3
= _("Dialog Options")
.row
.col-md-12.col-lg-12
= re... | Change 'request_view' option to 'display_view_only' | Change 'request_view' option to 'display_view_only'
https://bugzilla.redhat.com/show_bug.cgi?id=1428171
| Haml | apache-2.0 | ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic |
a7ae8eced8f77aea249f4a3a3a5c4005f5911d75 | src/app/views/images/import.html.haml | src/app/views/images/import.html.haml | = render :partial => 'layouts/admin_nav'
%header.admin-page-header
%h1.images= t('.import_image')
#obj_actions.button-container
%section.admin-content-section.image-import
%section#image-file-form
= form_tag(import_images_path, { :multipart => true, :method => :post }) do
%fieldset
%p
... | = render :partial => 'layouts/admin_nav'
%header.admin-page-header
%h1.images= t('.import_image')
#obj_actions.button-container
%section.admin-content-section.image-import
%section#image-file-form
= form_tag(import_images_path, { :multipart => true, :method => :post, :class => :generic }) do
%fieldset... | Add missing style to image import form | Add missing style to image import form
| Haml | apache-2.0 | aeolusproject/conductor,aeolusproject/conductor,aeolusproject/conductor,aeolusproject/conductor |
0ea1ae2ddbea281c8e4091a3d89e5f8f5d933352 | twigg-app/views/dashboard.haml | twigg-app/views/dashboard.haml | - content_for :title do
Twigg
%small
%span{day_links}
%h2 Teams
.teams.well{ 'data-lazy-url' => teams_path(days: @days) }
%h2 Pairs
.pairs.well{ 'data-lazy-url' => pairs_path(days: @days) }
- if Twigg::Config.app.gerrit.enabled
%h2 Gerrit
.gerrit.well{ 'data-lazy-url' => gerrit_path }
%h2 Authors
.autho... | - content_for :title do
Twigg
%small
%span{day_links}
%h2 Teams
.teams.well{ 'data-lazy-url' => teams_path(days: @days) }
%h2 Pairs
.pairs.well{ 'data-lazy-url' => pairs_path(days: @days) }
- if Twigg::Config.app.gerrit.enabled
%h2 Gerrit
.gerrit.well{ 'data-lazy-url' => gerrit_changes_path }
%h2 Author... | Fix broken home page due to missing `gerrit_path` | Fix broken home page due to missing `gerrit_path`
Commit f87a5b7dc253 renamed the `gerrit_path` method in app/routes.rb to
`gerrit_changes_path` but missed to change one reference to it.
Change-Id: If384462297f136629d6070aaa5fe7ac7439811e9
Reviewed-on: https://gerrit.causes.com/27011
Reviewed-by: Greg Hurrell <79e247... | Haml | mit | causes/twigg,causes/twigg |
4317d84d7e420e7cec853300ef4ffe3318a45520 | app/views/inspect/layouts/_initialize_graph.html.haml | app/views/inspect/layouts/_initialize_graph.html.haml | #canvas
:javascript
var node_url_prefix = "#{inspect_nodes_path(graph_name: params[:id])}";
var update_node_positions_path = "#{inspect_layout_path}";
var data;
$.getJSON(inspect_json_url, function(json_data) {
data = json_data;
for (var node_key in data['present']) {
for (var key in data['presen... | #canvas
:javascript
var node_url_prefix = "#{inspect_nodes_path(graph_name: params[:id])}";
var update_node_positions_path = "#{inspect_layout_path}";
var data;
$.getJSON(inspect_json_url, function(json_data) {
data = json_data;
for (var node_key in data['present']) {
for (var key in data['presen... | Fix reference to topology partial | Fix reference to topology partial
| Haml | mit | quintel/etengine,quintel/etengine,quintel/etengine,quintel/etengine |
577697928ed04a29803620c38a090a36e21dc73a | angular/core/components/poll/proposal/vote_form/poll_proposal_vote_form.haml | angular/core/components/poll/proposal/vote_form/poll_proposal_vote_form.haml | %form.poll-proposal-vote-form
%h3.lmo-card-subheading{translate: "poll_common.your_response"}
.poll-proposal-vote-form__option
%md-radio-group{ng-model: "stance.selectedOption"}
%md-radio-button.poll-common-vote-form__radio-button{class: "poll-common-vote-form__radio-button--{{option.name}}", ng-repeat: "... | %form.poll-proposal-vote-form
%h3.lmo-card-subheading{translate: "poll_common.your_response"}
.poll-proposal-vote-form__option
%md-radio-group{ng-model: "stance.selectedOption"}
%md-radio-button.poll-common-vote-form__radio-button{class: "poll-common-vote-form__radio-button--{{option.name}}", ng-repeat: "... | Add selector to vote form | Add selector to vote form
| Haml | agpl-3.0 | piratas-ar/loomio,piratas-ar/loomio,loomio/loomio,piratas-ar/loomio,piratas-ar/loomio,loomio/loomio,loomio/loomio,loomio/loomio |
7dd242c933feab599ac5a8a4fceb69082486168d | angular/core/components/thread_page/revision_history_modal/revision_history_modal.haml | angular/core/components/thread_page/revision_history_modal/revision_history_modal.haml | .revision-history-modal
%loading{ng-if: "loadExecuting"}
%md-toolbar
.md-toolbar-tools.lmo-flex__space-between
%h1.lmo-h1.modal-title.lmo-flex__grow{translate: "{{header}}"}
%material_modal_header_cancel_button{aria-hidden: "true"}
.md-dialog-content.revision-history-modal__body{ng-if: "!loadExecu... | .revision-history-modal
%md-toolbar
.md-toolbar-tools.lmo-flex__space-between
%h1.lmo-h1.modal-title.lmo-flex__grow{translate: "{{header}}"}
%material_modal_header_cancel_button{aria-hidden: "true"}
.md-dialog-content.revision-history-modal__body{ng-if: "!loadExecuting"}
%loading{ng-if: "loadExe... | Move loading for revision history omdal | Move loading for revision history omdal
| Haml | agpl-3.0 | loomio/loomio,piratas-ar/loomio,piratas-ar/loomio,piratas-ar/loomio,loomio/loomio,loomio/loomio,piratas-ar/loomio,loomio/loomio |
4915c0b4c9ee010dd95dfaae598f1050223801e0 | app/views/topics/create.js.haml | app/views/topics/create.js.haml | :javascript
$.redirectTo('#{topic_path(@topic.slug)}');
$.blabbrNotify('success','#{flash[:notice]}');
| :javascript
$.redirectTo('#{topic_path(@topic.slug)}');
$.blabbrNotify('success','#{flash[:notice]}');
subscribeToPusher('#{@topic.slug}');
| Initialize pusher on a newly created topic | Initialize pusher on a newly created topic
| Haml | mit | chatgris/blabbr,chatgris/blabbr |
395eacfc5d675a5b611005008d7c51db010e227f | app/views/users/_form.html.haml | app/views/users/_form.html.haml | = semantic_form_for @user do |f|
= f.semantic_errors
= f.inputs do
= f.input :email
= f.input :password, :hint => !f.object.new_record?, :input_html => {:autocomplete => "off"}
= f.input :password_confirmation
= f.input :current_password, :required => true unless can?(:manage, User)
= f.input :r... | = semantic_form_for @user do |f|
= f.semantic_errors
= f.inputs do
= f.input :email
= f.input :password, :hint => !f.object.new_record?, :input_html => {:autocomplete => "off"}
= f.input :password_confirmation
= f.input :current_password, :required => true unless can?(:manage, User)
= f.input :r... | Fix ability test for roles assignment. | Fix ability test for roles assignment.
| Haml | agpl-3.0 | xuewenfei/bookyt,wtag/bookyt,hauledev/bookyt,gaapt/bookyt,huerlisi/bookyt,silvermind/bookyt,gaapt/bookyt,silvermind/bookyt,huerlisi/bookyt,wtag/bookyt,xuewenfei/bookyt,gaapt/bookyt,wtag/bookyt,hauledev/bookyt,hauledev/bookyt,silvermind/bookyt,huerlisi/bookyt,xuewenfei/bookyt,gaapt/bookyt,silvermind/bookyt,hauledev/book... |
3699ac6d0f9fc58e47a0a29e41bb4c2543738639 | app/views/home/search.html.haml | app/views/home/search.html.haml | .instance-panel
.container
.col-md-12{:class => "text-center"}
%h1= t(:service_directory)
.form-group.col-md-8.container-form
= form_tag(search_services_path, method: "get") do
.inner-addon.left-addon
%i.glyphicon.glyphicon-search
%input#search-service.form-co... | .instance-panel
.container
.col-md-12{:class => "text-center"}
%h1= t(:service_directory, service_type: t(:public_services))
.form-group.col-md-8.container-form
= form_tag(search_services_path, method: "get") do
.inner-addon.left-addon
%i.glyphicon.glyphicon-search
... | Fix service directory title after search | Fix service directory title after search
| Haml | bsd-3-clause | continuum/APIO,continuum/APIO,continuum/APIO |
996073046992c56e24ddeb25755413bbd890fca4 | app/views/people/show.html.haml | app/views/people/show.html.haml | = render partial: 'breadcrumbs'
%h1= @person.name
.grid-wrapper
.grid.grid-1-3
.inner-block.profile
.image-background
= image_tag @person.image.medium, class: 'profile-page'
%h4 Days worked
%ul.working_days
- Person::DAYS_WORKED.each do |day|
%li{class: ('active' if @p... | = render partial: 'breadcrumbs'
%h1= @person.name
.grid-wrapper
.grid.grid-1-3
.inner-block.profile
.image-background
= image_tag @person.image.medium, class: 'profile-page'
%h4 Days worked
%ul.working_days
- Person::DAYS_WORKED.each do |day|
%li{class: ('active' if @p... | Remove breadcrumbs from person's profile | Remove breadcrumbs from person's profile
- Display just the group name | Haml | mit | MjAbuz/peoplefinder,heathd/moj_peoplefinder,ministryofjustice/peoplefinder,MjAbuz/peoplefinder,ministryofjustice/peoplefinder,MjAbuz/peoplefinder,ministryofjustice/peoplefinder,ministryofjustice/peoplefinder,ministryofjustice/peoplefinder,MjAbuz/peoplefinder,heathd/moj_peoplefinder |
1edacf1d05edcecba534c6636dd2efd466be6428 | app/views/members/_member_page_header.html.haml | app/views/members/_member_page_header.html.haml | .page-header
- if member.show_large_image?
= image_tag(member.large_image_url, alt: "Photo of #{@member.name_without_title}", size: "88x115")
%h1= member.name_without_title
%p.lead= member_type_party_place_sentence(member)
- if !member.person.current_offices.empty?
%p
-# TODO: The UK uses extra Of... | .page-header
- cache ["v1", "photo", member.person] do
- if member.show_large_image?
= image_tag(member.large_image_url, alt: "Photo of #{@member.name_without_title}", size: "88x115")
%h1= member.name_without_title
%p.lead= member_type_party_place_sentence(member)
- if !member.person.current_offices.e... | Add caching to selectively displayed person image | Add caching to selectively displayed person image
| Haml | agpl-3.0 | mysociety/publicwhip,mysociety/publicwhip,mysociety/publicwhip |
221c917c6c46246c3211207405a4849fb59e9636 | app/views/projects/issues/_new_branch.html.haml | app/views/projects/issues/_new_branch.html.haml | - if current_user && can?(current_user, :push_code, @project) && @issue.can_be_worked_on?(current_user)
.pull-right
= link_to namespace_project_branches_path(@project.namespace, @project, branch_name: @issue.to_branch_name, issue_iid: @issue.iid), method: :post, class: 'btn', title: @issue.to_branch_name do
... | - if current_user && can?(current_user, :push_code, @project) && @issue.can_be_worked_on?(current_user)
.pull-right
= link_to namespace_project_branches_path(@project.namespace, @project, branch_name: @issue.to_branch_name, issue_iid: @issue.iid), method: :post, class: 'btn has-tooltip', title: @issue.to_branch_n... | Add tooltip to new branch button | Add tooltip to new branch button
| Haml | mit | dwrensha/gitlabhq,daiyu/gitlab-zh,darkrasid/gitlabhq,screenpages/gitlabhq,larryli/gitlabhq,dwrensha/gitlabhq,dreampet/gitlab,axilleas/gitlabhq,shinexiao/gitlabhq,dreampet/gitlab,larryli/gitlabhq,larryli/gitlabhq,daiyu/gitlab-zh,martijnvermaat/gitlabhq,larryli/gitlabhq,axilleas/gitlabhq,mr-dxdy/gitlabhq,darkrasid/gitlab... |
52cec24b50b827e7cecfd4d9615595e342661e7a | app/views/reports_static/data_quality.html.haml | app/views/reports_static/data_quality.html.haml | - @title = "Data Quality - Reports"
- content_for :header, "Data Quality"
= render "internal/tabs"
- content_for :sidebar, render("internal/sidebar")
- if @data_quality && @data_quality[:graphs]
- @data_quality[:graphs].each do |graph|
%div{ style: "margin-bottom: 20px", data: { object: "draw-chart", chart_type... | - @title = "Data Quality - Reports"
- content_for :header, "Data Quality"
= render "internal/tabs"
- content_for :sidebar, render("internal/sidebar")
- if @data_quality && @data_quality[:graphs]
- @data_quality[:graphs].each do |graph|
%div{ style: "margin-bottom: 20px", data: { object: "draw-chart", chart_type... | Add dynamic reports to data quality page | Add dynamic reports to data quality page
| Haml | mit | sleepepi/patstrial.org,sleepepi/patstrial.org,sleepepi/patstrial.org |
34c35bf58158ff3c4650519a6ab8a4067b506599 | app/views/effective/style_guide/_form_inline.html.haml | app/views/effective/style_guide/_form_inline.html.haml | = simple_form_for Effective::StyleGuide.new(), :html => {:class => 'form-inline'}, :wrapper => :inline_form, :url => '/' do |f|
= f.input :title, :placeholder => 'Enter title'
= f.input :email, :placeholder => 'Enter email'
- if defined?(EffectiveFormInputs)
= f.input :category, :as => :effective_select, :col... | = simple_form_for Effective::StyleGuide.new(), :html => {:class => 'form-inline'}, :wrapper => :inline_form, :url => '/' do |f|
= f.input :title, :placeholder => 'Enter title'
= f.input :email, :placeholder => 'Enter email'
- if defined?(EffectiveFormInputs)
= f.input :category, :as => :effective_select, :col... | Use placeholder on select fields in form inline | Use placeholder on select fields in form inline
| Haml | mit | code-and-effect/effective_style_guide,code-and-effect/effective_style_guide |
df1102841cff41768415b9c4bc215615c472fb2d | lib/generators/element/templates/edit.html.haml | lib/generators/element/templates/edit.html.haml | %h1 editing <%= singular_name %>
=render :partial => "remote_form"
| %h1 editing <%= singular_name %>
=render :partial => "remote_form", :locals => {singular_name.to_sym => @<%= singular_name %>}
| Change to the generator, pass in the item to be edited. | Change to the generator, pass in the item to be edited. | Haml | mit | concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse |
2305d41a1a23cd8210f208461d34d47645ad4a91 | views/index.haml | views/index.haml | %form_tag
%input
%submit
| .hero-unit
%h1 Techno Finder
%br
%p Find public technology resources in Chicago by calling (773) 280-8612.
.row
.span16
%h2 About
%p Chicago has many public sites with technology resources that are free or afforable.
%br
%p Technology Resources include:
%ul
%li Computers with Internet... | Create layout for techno finder | Create layout for techno finder
| Haml | mit | ryanatwork/techno_finder |
daba03d8dbbdd0fec39dd6886419e9cb99f78618 | views/index.haml | views/index.haml | !!! XML
!!!
%html
%head
%meta{'http-equiv' => 'content-type', :content => 'text/html; charset=utf-8'}
%meta{'http-equiv' => 'content-style-type', :content => 'text/css'}
%meta{'http-equiv' => 'content-script-type', :content => 'text/javascript'}
%title 拍数え - モーラ(拍)計算機
%body
%h1 拍数え
Powered b... | !!! XML
!!!
%html
%head
%meta{'http-equiv' => 'content-type', :content => 'text/html; charset=utf-8'}
%meta{'http-equiv' => 'content-style-type', :content => 'text/css'}
%meta{'http-equiv' => 'content-script-type', :content => 'text/javascript'}
%title 拍数え - モーラ(拍)計算機
%body
%h1 拍数え
Powered b... | Add attribute of textarea size | Add attribute of textarea size
| Haml | mit | myokoym/mora-web |
5bb345b8b1167a0188dd39d9ad164032824dd167 | lib/jibjob/views/_header.haml | lib/jibjob/views/_header.haml | #header
.ribbon
%a.logo{:title => "JibJob", :href => "/"}
%h1 JibJob
%p.sub The résumé distribution center
%ul
%li
%a{:href => "/"} Home
- unless session[:user]
%li
%a{:href => "/register"} Register
- if session[:user]
%li
%a{:href => "/resumes"} My Resumes
... | #header
.ribbon
%a.logo{:title => "JibJob", :href => "/"}
%h1 JibJob
%p.sub The résumé distribution center
%ul
%li
%a{:href => "/"} Home
- unless session[:user]
%li
%a{:href => "/register"} Register
- if session[:user]
%li
%a{:href => "/resumes"} My Resumes
... | Add log out link to top nav | Add log out link to top nav
| Haml | mit | virgild/jibjob,virgild/jibjob,virgild/jibjob |
a51d386d4e06096b244b218f6978bf88921b6517 | app/views/events/edit.html.haml | app/views/events/edit.html.haml | - now = Time.zone.now
%div.page-header
%h1 イベント編集
= form_for(@event, class: 'form-horizotal', role: 'form') do |f|
- if @event.errors.any?
%div{ class: 'alert alert-danger' }
%ul
- @event.errors.full_messages.each do |msg|
%li
=msg
%div.form-group
= f.label :name
... | - now = Time.zone.now
%div.page-header
%h1 イベント編集
= form_for(@event, class: 'form-horizotal', role: 'form') do |f|
- if @event.errors.any?
%div{ class: 'alert alert-danger' }
%ul
- @event.errors.full_messages.each do |msg|
%li
=msg
%div.form-group
= f.label :name
... | Add image and checkbox in edit | Add image and checkbox in edit
| Haml | mit | koudaiii/event-site,koudaiii/event-site,koudaiii/event-site |
5d76ade28212a666ceceaa74c2311a13c1a23c40 | app/views/devise/ichain_sessions/new.html.haml | app/views/devise/ichain_sessions/new.html.haml | - content_for :title do
Sign In
.row
.col-md-6.col-md-offset-3
%h3 Sign In
%p.text-muted
Using your SUSE/openSUSE credentials.
= form_tag(@login_url, :method => :post, :enctype => 'application/x-www-form-urlencoded',:role => 'form') do
= hidden_field_tag :url, @back_url
= hidden_field... | - content_for :title do
Sign In
.row
.col-md-6.col-md-offset-3
%h3 Sign In
%p.text-muted
Using your SUSE/openSUSE credentials from the
#{link_to('IDP Portal', 'https://idp-portal.suse.com')}.
= form_tag(@login_url, :method => :post, :enctype => 'application/x-www-form-urlencoded',:role => ... | Add help links pointing directly to the IDP Portal | Add help links pointing directly to the IDP Portal
| Haml | mit | hennevogel/hackweek,hennevogel/hackweek,hennevogel/hackweek,SUSE/hackweek,SUSE/hackweek,SUSE/hackweek |
9f554aadd585e357c77a22733c82f381967cac1d | app/views/devise/sessions/two_factor.html.haml | app/views/devise/sessions/two_factor.html.haml | %div
.login-box
.login-heading
%h3 Two-Factor Authentication
.login-body
- if @user.two_factor_otp_enabled?
%h5 Authenticate via Two-Factor App
= form_for(resource, as: resource_name, url: session_path(resource_name), method: :post) do |f|
= f.hidden_field :remember_me, v... | %div
.login-box
.login-heading
%h3 Two-Factor Authentication
.login-body
- if @user.two_factor_otp_enabled?
%h5 Authenticate via Two-Factor App
= form_for(resource, as: resource_name, url: session_path(resource_name), method: :post) do |f|
- resource_params = params[resou... | Fix 2FA-based login for LDAP users | Fix 2FA-based login for LDAP users
The OTP input form is shared by both LDAP and standard logins, but when
coming from an LDAP-based form, the form parameters aren't nested in a
Hash based on the `resource_name` value.
Now we check for a nested `remember_me` parameter and use that if it
exists, or fall back to the no... | Haml | mit | stoplightio/gitlabhq,Soullivaneuh/gitlabhq,shinexiao/gitlabhq,allysonbarros/gitlabhq,shinexiao/gitlabhq,htve/GitlabForChinese,dplarson/gitlabhq,htve/GitlabForChinese,allysonbarros/gitlabhq,axilleas/gitlabhq,Soullivaneuh/gitlabhq,jirutka/gitlabhq,mr-dxdy/gitlabhq,t-zuehlsdorff/gitlabhq,dplarson/gitlabhq,shinexiao/gitlab... |
c851639a75359da7e84290fb2f62642e1d4f05f7 | app/views/notes/_form.html.haml | app/views/notes/_form.html.haml | = form_for [@project, @note], :remote => "true", :multipart => true do |f|
%h3 Leave a comment
-if @note.errors.any?
.alert-message.block-message.error
- @note.errors.full_messages.each do |msg|
%div= msg
= f.hidden_field :noteable_id
= f.hidden_field :noteable_type
= f.text_area :note, :s... | = form_for [@project, @note], :remote => "true", :multipart => true do |f|
%h3 Leave a comment
-if @note.errors.any?
.alert-message.block-message.error
- @note.errors.full_messages.each do |msg|
%div= msg
= f.hidden_field :noteable_id
= f.hidden_field :noteable_type
= f.text_area :note, :s... | Fix typo: "less then" => "less than". | Fix typo: "less then" => "less than".
| Haml | mit | hacsoc/gitlabhq,openwide-java/gitlabhq,koreamic/gitlabhq,htve/GitlabForChinese,pulkit21/gitlabhq,mmkassem/gitlabhq,mr-dxdy/gitlabhq,OlegGirko/gitlab-ce,dvrylc/gitlabhq,michaKFromParis/sparkslab,salipro4ever/gitlabhq,copystudy/gitlabhq,martinma4/gitlabhq,williamherry/gitlabhq,dukex/gitlabhq,flashbuckets/gitlabhq,bigsurg... |
d50ee615d43ce357fa4896d64890b2f9ec14cc74 | app/views/labels/_form.haml | app/views/labels/_form.haml | %p
%label{:for => 'caption'} Caption:
=text_field :label, :caption
%p
%label{:for => 'numeric'} Value:
=text_field :label, :value
| %p
%label{:for => 'caption'} Caption:
=text_field :label, :caption
| Remove the number field for labels. Its not used. | Remove the number field for labels. Its not used.
| Haml | mit | RAllner/fassets_core,RAllner/fassets_core,fassets/fassets_resources,fassets/fassets_resources |
7451fe7ca7e52b8fe455c081a5845fe455ad8c32 | app/views/static_pages/home.html.haml | app/views/static_pages/home.html.haml | .center.jumbotron
%h1 Ecotone
%h2 A Living, Learning Laboratory at OSU Cascades
/ source: http://getbootstrap.com/examples/carousel/#
.container
.row
.col-lg-4.center
= image_tag('ecotone-plants-tykeson-hall-osu-cascades-200x200.jpg', class: 'img-circle', alt: 'Native plant species at OSU cascades')
... | .center.jumbotron
%h1 Ecotone
%h2 A Living, Learning Laboratory at OSU-Cascades
/ source: http://getbootstrap.com/examples/carousel/#
.container
.row
.col-lg-4.center
= image_tag('ecotone-plants-tykeson-hall-osu-cascades-200x200.jpg', class: 'img-circle', alt: 'Native plant species at OSU cascades')
... | Update short description to be of equal length to the others (RUI concept), fix grammar | Update short description to be of equal length to the others (RUI concept), fix grammar
| Haml | mit | osu-cascades/ecotone-web,osu-cascades/ecotone-web,osu-cascades/ecotone-web,osu-cascades/ecotone-web |
10138ebc54cf98f9393ae13500c2fdaabf113aa1 | app/views/emails/show.html.haml | app/views/emails/show.html.haml | - if @email.admin_email
- set_meta_tags nofollow: true
%div.row
%div.col-md-8
= link_to newsletter_path(@newsletter) do
%h1
#{@newsletter.name}
%div
%p
Sent #{@email.created_at}
%div.col-md-4
%p
= link_to 'More from the Newsletter', newsletter_path(@newsletter), cla... | - if @email.admin_email
- set_meta_tags nofollow: true
%div.row
%div.col-md-8
= link_to newsletter_path(@newsletter) do
%h1
#{@newsletter.name}
%div
%p
Sent #{@email.created_at}
%div.col-md-4
%p
= link_to 'More from the Newsletter', newsletter_path(@newsletter), cla... | Add the links a bit more | Add the links a bit more
| Haml | mit | rememberlenny/newsletterstand,rememberlenny/newsletterstand,rememberlenny/email-newsletter-stand,rememberlenny/newsletterstand,rememberlenny/email-newsletter-stand,rememberlenny/email-newsletter-stand |
8be9f64eac16e1f19425aa42bfddec8a81d1e36b | app/views/communities/show.html.haml | app/views/communities/show.html.haml | - @page_title = @community.short_name
- main_column do
%h1= h @community.name
%h3
How should the
= h @community.short_name
voter community divide funding among these websites/blogs?
.listing
- if @community.websites.any?
= render :partial => 'rankings'
- else
= r... | - @page_title = @community.short_name
- main_column do
%h1= h @community.name
%h3
How should the
= h @community.short_name
voter community divide funding among these websites/blogs?
.listing
- if @community.websites.any?
= render :partial => 'rankings'
- else
= render :par... | Fix a layout typo affecting ballot page formatting. | Fix a layout typo affecting ballot page formatting. | Haml | agpl-3.0 | marklatham/gvmp,marklatham/gvmp,marklatham/gvmp |
a382697eea2247359067730176f02d6a951a6e1c | app/views/matrices/index.html.haml | app/views/matrices/index.html.haml | %h1 Matrices#index
%p Find me in app/views/matrices/index.html.haml
%table#matrices
%thead
%tr
%th Name
%th Group
%th Num Rows
%th Num Cols
%th Nonzeros
%th Kind
%th Symmetric
%th Date
%th Author
%th Editor
%th Notes
%th Matlab Url
%t... | %h1 Matrices#index
%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 Matlab URL
%th Rutherford Boei... | Add styling to Index page table | Add styling to Index page table
| Haml | mit | 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,ScottKolo/UFSMC-Web |
0259f412d005349a95bfaf588f11b5c3660574a4 | app/views/quotes/_form.html.haml | app/views/quotes/_form.html.haml | = simple_nested_form_for @quote, html: { class: 'form-horizontal quote_form', multipart: true, autocomplete: 'off' } do |f|
= f.input :content, input_html: { class: 'span8', rows: 5 }, placeholder: 'Quotes & Words...'
= f.input :author, placeholder: 'by whom', input_html: { data: { wiki_field: 'author_wiki_id' } }
... | = simple_nested_form_for @quote, html: { class: 'form-horizontal quote_form', multipart: true, autocomplete: 'off' } do |f|
= f.input :content, input_html: { class: 'span8', rows: 5 }, placeholder: 'Quotes & Words...', autofocus: true
= f.input :author, placeholder: 'by whom', input_html: { data: { wiki_field: 'aut... | Make :content field of quote posting form auto focused | Make :content field of quote posting form auto focused
| Haml | mit | dddaisuke/quoty,dddaisuke/quoty,dddaisuke/quoty,kinopyo/quoty,kinopyo/quoty |
406b2dbf046e6d0af0184a65289a640d3e77349f | app/views/admin/index.html.haml | app/views/admin/index.html.haml | - content_for :title, 'Admin'
%h2 Manage
%ul#admin_links
%li= link_to "Account types", account_types_path
%li= link_to "Alternate names", alternate_names_path
%li= link_to "Scientific names", scientific_names_path
%li= link_to "Products", products_path
%li= link_to "Roles", roles_path
%li= link_to "Forums... | - content_for :title, 'Admin'
%h2 Manage
.row
.col-md-4
%h2 Site admin
%ul
%li= link_to "Account types", account_types_path
%li= link_to "Products", products_path
%li= link_to "Roles", roles_path
%li= link_to "Forums", forums_path
%li= link_to "CMS", comfy_admin_cms_path
.co... | Make admin index a bit nicer | Make admin index a bit nicer
| Haml | agpl-3.0 | Growstuff/growstuff,Br3nda/growstuff,cesy/growstuff,dv2/growstuff,pozorvlak/growstuff,yez/growstuff,yez/growstuff,dv2/growstuff,Br3nda/growstuff,Growstuff/growstuff,pozorvlak/growstuff,pozorvlak/growstuff,yez/growstuff,cesy/growstuff,Br3nda/growstuff,Br3nda/growstuff,pozorvlak/growstuff,Growstuff/growstuff,yez/growstuf... |
5fc690df6ec2350c81f02098edba271a1eba5e0b | app/views/admin/groups/_group.html.haml | app/views/admin/groups/_group.html.haml | - css_class = '' unless local_assigns[:css_class]
%li.group-row.group-admin{ class: css_class }
.group-avatar
= image_tag group_icon(group), class: 'avatar hidden-xs'
.group-details
.title
= link_to [:admin, group], class: 'group-name' do
= group.name
.group-stats
%span>= pluralize(... | - css_class = 'no-description' if group.description.blank?
%li.group-row{ class: css_class }
.controls
= link_to 'Edit', edit_admin_group_path(group), id: "edit_#{dom_id(group)}", class: 'btn'
= link_to 'Delete', [:admin, group], data: { confirm: "Are you sure you want to remove #{group.name}?" }, method: :d... | Make admin/groups view consistent with dashboard/groups | Make admin/groups view consistent with dashboard/groups
| Haml | mit | allysonbarros/gitlabhq,htve/GitlabForChinese,axilleas/gitlabhq,screenpages/gitlabhq,dplarson/gitlabhq,jirutka/gitlabhq,darkrasid/gitlabhq,LUMC/gitlabhq,darkrasid/gitlabhq,dplarson/gitlabhq,shinexiao/gitlabhq,dreampet/gitlab,shinexiao/gitlabhq,icedwater/gitlabhq,openwide-java/gitlabhq,icedwater/gitlabhq,screenpages/gitl... |
93248bf9bb84fd80c5c8ddf3d1c6ae7537abac51 | app/views/layouts/_navigation.html.haml | app/views/layouts/_navigation.html.haml | -# navigation styled for Bootstrap 3.0
- search_query = content_for?(:search_query) ? yield(:search_query) : ''
%nav.navbar.navbar-default.navbar-fixed
.container
.navbar-header
%button.navbar-toggle.float-left{ type: 'button', data: { target: '.navbar-collapse', toggle: 'collapse' } }
%span.sr-on... | -# navigation styled for Bootstrap 3.0
- search_query = content_for?(:search_query) ? yield(:search_query) : ''
%nav.navbar.navbar-default.navbar-fixed
.container
.navbar-header
%button.navbar-toggle.float-left{ type: 'button', data: { target: '.navbar-collapse', toggle: 'collapse' } }
%span.sr-on... | Fix syntax error in template | Fix syntax error in template
| Haml | mit | bensheldon/panlexicon-rails,bensheldon/panlexicon-rails,bensheldon/panlexicon-rails |
4c7e4368d312cc11a6d2b835fbea667c4d000781 | views/layouts/_logo.haml | views/layouts/_logo.haml | %h1.logo Starkast Wiki
#busy{ style: 'display: none' }
%img{ src: '/images/busy.gif', width: 16, height: 16, alt: 'Laddar...' }
| %h1.logo Starkast Wiki
| Remove loader gif, not used | Remove loader gif, not used
| Haml | mit | Starkast/wikimum,Starkast/wikimum |
bb3ef51f136cc9171017ed2c6a077c92535209fe | app/views/settings/two_factor_authentication/otp_authentication/_totp_enabled.html.haml | app/views/settings/two_factor_authentication/otp_authentication/_totp_enabled.html.haml | %p= t(".body")
%p= t(".recovery_code_count", count: recovery_code_count)
= link_to t(".remove.action"), settings_two_factor_authentication_otp_authentication_path, class: "btn btn-danger",
data: { turbo_confirm: t(".remove.confirm"), turbo_method: :delete }
= link_to t(".regenerate.action"), settings_two_fact... | %p= t(".body")
%p= t(".recovery_code_count", count: recovery_code_count)
= link_to t(".remove.action"), settings_two_factor_authentication_otp_authentication_path, class: "btn btn-danger mb-1",
data: { turbo_confirm: t(".remove.confirm"), turbo_method: :delete }
= link_to t(".regenerate.action"), settings_two... | Add spacing to 2FA buttons | Add spacing to 2FA buttons
| Haml | agpl-3.0 | Retrospring/retrospring,Retrospring/retrospring,Retrospring/retrospring,Retrospring/retrospring,Retrospring/retrospring |
a8abe3d4d2f8987c06469145c826a6f3b6b2ad17 | app/views/layouts/angular/_x_custom_form_buttons_angular.html.haml | app/views/layouts/angular/_x_custom_form_buttons_angular.html.haml | .clearfix
.pull-right.button-group{"ng-controller" => "buttonGroupController"}
= button_tag(button_label,
"class" => "btn btn-primary disabled",
:alt => button_label,
:title => button_label,
"ng-click" => "disabledClick($event)",
... | .clearfix
.pull-right.button-group{"ng-controller" => "buttonGroupController"}
%miq-button{:name => button_label,
:title => button_label,
:alt => button_label,
:enabled => "saveable(angularForm)",
'on-click' => button_click,
... | Convert x_custom_form_buttons_angular to use miq-button directive | Convert x_custom_form_buttons_angular to use miq-button directive
| Haml | apache-2.0 | ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic |
2c78811f6144aa968f80fe1673e62f136b96c149 | test/templates/partial_layout.haml | test/templates/partial_layout.haml | %h1 Partial layout used with for block:
- if Haml::Util.ap_geq?("3.2.0.alpha1")
= render :layout => 'layout_for_partial' do
%p Some content within a layout
- elsif Haml::Util.ap_geq_3?
= render :layout => 'layout_for_partial.haml' do
%p Some content within a layout
- else
- render :layout => 'layout_for_p... | %h1 Partial layout used with for block:
= render :layout => 'layout_for_partial' do
%p Some content within a layout
| Remove unecessary conditional checks for 3.2 | Remove unecessary conditional checks for 3.2
This actually works the same on 3.0-3.2, no need to check.
| Haml | mit | haml/haml,haml/haml,tangposmarvin/haml,stanhu/haml,sideci-sample/sideci-sample-haml,haml/haml,keithpitty/haml,keithpitty/haml,amatsuda/haml,nazar-pc/haml,dg1dd1ngs/haml,haml/haml,nazar-pc/haml,macressler/haml,stanhu/haml,dg1dd1ngs/haml,macressler/haml,tangposmarvin/haml |
f5347d371d03f6c07b2495f343f78712b527e745 | views/invite.haml | views/invite.haml | .invite
%p= "Please give me access to the <b>#{slack_channel_name} #slack</b> group."
%p <i>(And don't use my email for other purposes.)</i>
%form(action="/invite" method="post")
.field
Email:
%input(type="email" name="email")
%input(type="submit")
- if defined? success
.success
= ... | .invite
%p= "Please give me access to the <b>#{slack_channel_name} #slack</b> group."
%p <i>(And don't use my email for other purposes.)</i>
%form(action="/invite" method="post")
.field
.label Name:
%input(type="text" name="first_name")
.field
.label Email:
%input(type="email" na... | Add field for first_name to the form | Add field for first_name to the form | Haml | unlicense | mediafinger/slack-inviter,mediafinger/slack-inviter |
9a8843e5eeba7c2fa2d3135d2d77738dc32ca887 | app/views/topics/_subscribe_unsubscribe.html.haml | app/views/topics/_subscribe_unsubscribe.html.haml | .mb-3.text-center
- if topic.subscribed?(current_user)
You may
= succeed " " do
= link_to subscription_topic_path(topic, notify: "0"), method: :post, remote: true, class: "btn btn-sm btn-outline-dark" do
%i.fa.fa-volume-off
unsubscribe
to stop receiving updates for this topic.
- el... | .mb-3.text-center
- if topic.subscribed?(current_user)
You may
= succeed " " do
= link_to subscription_topic_path(topic, notify: "0"), method: :post, remote: true, class: "btn btn-sm btn-outline-dark" do
%i.fa.fa-volume-off
unsubscribe
to stop receiving updates for this topic.
- el... | Reduce amount of text to go to notification settings | Reduce amount of text to go to notification settings
| Haml | mit | myapnea/www.myapnea.org,myapnea/www.myapnea.org,myapnea/www.myapnea.org |
f7f4216d3f0ca142764a0949481e741808a23373 | app/views/views/header.html.haml | app/views/views/header.html.haml | - if @view.controls.kind_of? String
- begin
.row
.event-header= render @view.controls
- rescue ActionView::MissingTemplate
.row.alert.alert-error
%b Error:
There is a missing form here. Contact your administrator.
- elsif @view.controls.kind_of? Hash
- if @view.controls.count == 1
.r... | - if @view.controls.kind_of? String
- begin
.row
.event-header= render @view.controls
- rescue ActionView::MissingTemplate
.row.alert.alert-error
%b Error:
There is a missing form here. Contact your administrator.
- elsif @view.controls.kind_of? Hash
- if @view.controls.count == 1
.r... | Fix showing controls twice if there's only one! | Fix showing controls twice if there's only one!
| Haml | agpl-3.0 | sdc/leap,sdc/leap,sdc-webteam-deploy/leap,sdc/leap,sdc/leap,sdc-webteam-deploy/leap,sdc-webteam-deploy/leap,sdc-webteam-deploy/leap |
d21ab135c91dbddde429d889b5d5c64099ad2b5c | app/views/static_pages/home.html.haml | app/views/static_pages/home.html.haml | .jumbotron.center
%h1.title Ecotone
%h2.caption A Living, Learning Laboratory at OSU-Cascades
/ source: http://getbootstrap.com/examples/carousel/#
.img-container
.col.center
.img-circle
= image_tag('ecotone-plants-tykeson-hall-osu-cascades-200x200.jpg', alt: 'Native plant species at OSU-cascades')
... | .jumbotron.center
%h1.title Ecotone
%h2.caption A Living, Learning Laboratory at OSU-Cascades
.img-container
.col.center
.img-circle
= image_tag('ecotone-plants-tykeson-hall-osu-cascades-200x200.jpg', alt: 'Native plant species at OSU-cascades')
%h3 Native Plant Landscaping
%p Natural resources ... | Remove link to source, since Bootstrap is no longer being used for the images | Remove link to source, since Bootstrap is no longer being used for the images
| Haml | mit | osu-cascades/ecotone-web,osu-cascades/ecotone-web,osu-cascades/ecotone-web,osu-cascades/ecotone-web |
c875d9b3a16b447543f1782e4b3561017f4478bc | app/views/layouts/_og_image.haml | app/views/layouts/_og_image.haml | - if asset_exists? "#{@year.year}/og-image.png"
%meta{:property => "og:title", :content => "U.S. Go Congress #{@year.year}"}
%meta{:property => "og:description", :content => "The #{@year.year} U.S. Go Congress will be held in #{@congress_city}, #{@congress_state} from #{@congress_date_range}."}
%meta{:property =>... | - if asset_exists? "logo/usgc/2020.png"
%meta{:property => "og:title", :content => "U.S. Go Congress #{@year.year}"}
%meta{:property => "og:description", :content => "The #{@year.year} U.S. Go Congress will be held in #{@congress_city}, #{@congress_state} from #{@congress_date_range}."}
%meta{:property => "og:ima... | Use 2020 logo for og meta tags | Use 2020 logo for og meta tags
| Haml | mit | usgo/gocongress,usgo/gocongress,usgo/gocongress,usgo/gocongress |
0aa33e00ab87640dbd003b22337a75965d27dac2 | app/views/people/index.html.haml | app/views/people/index.html.haml | - content_for(:section_header) do
.section_header{:class => 'people'}
%h1= "#{@tag} people".strip.titleize
= link_to "+ Add Someone", new_person_path, :class => 'new', :id => 'new_person'
#view_options
%span.sorting
%strong Sort by:
= sort_link(:name) + ","
= sort_link(:creat... | - content_for(:section_header) do
.section_header{:class => 'people'}
%h1= "#{@tag} people".strip.titleize
= link_to "+ Add Someone", new_person_path, :class => 'new', :id => 'new_person'
#view_options
%span.sorting
%strong Sort by:
= sort_link(:name) + ","
= sort_link(:creat... | Maintain pagination and sorting when switching between list and grid views | Maintain pagination and sorting when switching between list and grid views | Haml | mit | reidab/citizenry,reidab/citizenry,reidab/citizenry |
299a8115c46e133ce6101348059277d3e05f2ac8 | app/views/serials/show.html.haml | app/views/serials/show.html.haml | :ruby
canonical_url = @serial.canonical_url(@posts)
page_title = @serial.page_title(@posts)
- @class_page_name = "serial-index"
- content_for(:rel_next_prev_link_tags) { rel_next_prev_link_tags(@posts) }
- content_for(:canonical_tag) do
%link{rel: :canonical, href: canonical_url}
- if @posts.current_page > 1
... | :ruby
canonical_url = @serial.canonical_url(@posts)
page_title = @serial.page_title(@posts)
- @class_page_name = "serial-index"
- content_for(:rel_next_prev_link_tags) { rel_next_prev_link_tags(@posts) }
- content_for(:canonical_tag) do
%link{rel: :canonical, href: canonical_url}
- if @posts.current_page > 1
... | Remove needless serial number of posts in serial | Remove needless serial number of posts in serial
Because posts.title includes a serial number.
| Haml | mit | bm-sms/daimon-news,bm-sms/daimon-news,bm-sms/daimon-news |
6543fe1ad8614fcfac27293dbd3ae83c2684df8f | public/theme/portalshit/related.haml | public/theme/portalshit/related.haml | - if @entry.is_a?(Post) && referrers.present?
%section.referrers
%h3 この記事を参照している記事
%ul
- referrers.each do |referrer|
%li.item{ title: referrer.title, link: referrer.link, type: 'referrer' }
.title
%span.link= link_to referrer.title, referrer.link
%span.created_... | - if @entry.is_a?(Post) && referrers.present?
%section.referrers
%h3 この記事を参照している記事
%ul
- referrers.each do |referrer|
%li.item{ title: referrer.title, link: referrer.link, type: 'referrer' }
.title
%span.link= link_to referrer.title, referrer.link
%span.created_... | Stop using smart clip for thunbnail | Stop using smart clip for thunbnail
| Haml | mit | morygonzalez/portalshit.net,morygonzalez/portalshit.net,morygonzalez/portalshit.net,morygonzalez/portalshit.net |
abfc13ffa46c8da3fbeb61a4e0b2f1ee644d4da1 | app/views/admin/labels/destroy.js.haml | app/views/admin/labels/destroy.js.haml | - if @labels.size == 0
$('.labels').load(document.URL + ' .light-well').hide().fadeIn(1000)
| - if @labels.size == 0
$('.labels').load(document.URL + ' .card.bg-light').hide().fadeIn(1000)
| Fix failing spec because of light-well reference | Fix failing spec because of light-well reference
| Haml | mit | axilleas/gitlabhq,jirutka/gitlabhq,iiet/iiet-git,mmkassem/gitlabhq,dreampet/gitlab,dreampet/gitlab,jirutka/gitlabhq,axilleas/gitlabhq,stoplightio/gitlabhq,jirutka/gitlabhq,dreampet/gitlab,stoplightio/gitlabhq,iiet/iiet-git,mmkassem/gitlabhq,axilleas/gitlabhq,jirutka/gitlabhq,mmkassem/gitlabhq,iiet/iiet-git,mmkassem/git... |
a036a9e061ea064b3a662f25a6e4cf8992e24306 | frontend/app/views/session/preferences.html.haml | frontend/app/views/session/preferences.html.haml | %h1 Preferences
= form_with url: {controller: "session", action: "preferences"}, model: @user do |f|
= label_tag(:sort, "Default sorting")
= f.text_field(:sort)
= label_tag(:sort, "Default view")
= f.select(:view, options_for_select(@views.map{|view| [view, view] }, @user.view))
= f.submit("Save")
| %h1 Preferences
= form_with method: :post, url: {controller: "session", action: "preferences"}, model: @user do |f|
= label_tag(:sort, "Default sorting")
= f.text_field(:sort)
= label_tag(:sort, "Default view")
= f.select(:view, options_for_select(@views.map{|view| [view, view] }, @user.view))
= f.submit("Sav... | Fix HTTP method for preferences form | Fix HTTP method for preferences form
| Haml | mit | fenhl/lore-seeker,fenhl/lore-seeker,fenhl/lore-seeker,fenhl/lore-seeker,fenhl/lore-seeker |
af22f97b05166a12292276dad856a66dab2c4909 | app/views/events/body/_person_course.html.haml | app/views/events/body/_person_course.html.haml | - if event.transition == :create and person_course.vague_title
= person_course.vague_title
= "(aiming for #{person_course.offer_code})" unless person_course.offer_code.blank?
- else
= link_to_if @user.staff? && !Settings.ebs_course_base_url.blank?, person_course.course.title, (Settings.ebs_course_base_url +... | - if person_course.mis_status
%span.label.pull-right{:class => person_course.status}
= person_course.mis_status
- if event.transition == :create and !person_course.entry_reqs.blank?
.pull-right.icon.icon-tasks{:title => "This course has entry requirements", :style => "margin-right:7px"}
- if event.transition ==... | Add an indicator to course events to show if entry requirements are available. Also tidy up a little. | Add an indicator to course events to show if entry requirements are available. Also tidy up a little.
| Haml | agpl-3.0 | sdc-webteam-deploy/leap,sdc-webteam-deploy/leap,sdc/leap,sdc/leap,sdc-webteam-deploy/leap,sdc-webteam-deploy/leap,sdc/leap,sdc/leap |
755adf4287f30ccd2c64069df319010434b2fa30 | app/views/groups/index.html.haml | app/views/groups/index.html.haml | = inject_enterprises
:javascript
angular.module('Darkswarm').value('groups', #{render partial: "json/groups", object: @groups})
#groups.pad-top{"ng-controller" => "GroupsCtrl"}
#active-table-search.row.pad-top
.small-12.columns
%h1 Groups / regions
%p
%input.animate-show{type: :text,
... | = inject_enterprises
:javascript
angular.module('Darkswarm').value('groups', #{render partial: "json/groups", object: @groups})
#groups.pad-top{"ng-controller" => "GroupsCtrl"}
#active-table-search.row.pad-top
.small-12.columns
%h1 Groups / regions
%p
/ %input.animate-show{type: :text,
... | Index page stop-gap improvements until we get more variables to display in this list. Commented out search field not working | Index page stop-gap improvements until we get more variables to display in this list. Commented out search field not working
| Haml | agpl-3.0 | levent/openfoodnetwork,ecocitycore/openfoodnetwork,Matt-Yorkley/openfoodnetwork,KateDavis/openfoodnetwork,lin-d-hop/openfoodnetwork,mkllnk/openfoodnetwork,openfoodfoundation/openfoodnetwork,RohanM/openfoodnetwork,KosenkoDmitriy/openfoodnetwork,KosenkoDmitriy/openfoodnetwork,ecocitycore/openfoodnetwork,folklabs/openfood... |
926ef89e023b68de7d1588d75629f15b807ddfad | app/views/static/index.html.haml | app/views/static/index.html.haml | .container
- unless signed_in?
= render "marketing"
.row
.col-md-6
%h2 Recent New Users
%p= link_to "See More…".html_safe, users_path
%ul.list-unstyled
- User.all.order(created_at: :desc).limit(10).each do |user|
%li
= owner_image(user, 20)
... | Hello world.
| Make the homepage trivial (because we don't use it and it's making noise in the logs) | Make the homepage trivial (because we don't use it and it's making noise in the logs)
| Haml | agpl-3.0 | OpenAddressesUK/morph,OpenAddressesUK/morph,OpenAddressesUK/morph,OpenAddressesUK/morph |
bd6a8df7cc2d9ec2739ef7aa45b017c49019a9c7 | app/views/photos/_new_photo.haml | app/views/photos/_new_photo.haml | -# Copyright (c) 2010, Diaspora Inc. This file is
-# licensed under the Affero General Public License version 3 or later. See
-# the COPYRIGHT file.
:javascript
function createUploader(){
var uploader = new qq.FileUploader({
element: $('#file-upload'),
params: {'photo' : { 'album_id' : "#... | -# Copyright (c) 2010, Diaspora Inc. This file is
-# licensed under the Affero General Public License version 3 or later. See
-# the COPYRIGHT file.
:javascript
function createUploader(){
var uploader = new qq.FileUploader({
element: document.getElementById('file-upload'),
params: {'photo... | Revert to getElementById in FileUploader, jquery isn't working | Revert to getElementById in FileUploader, jquery isn't working
| Haml | agpl-3.0 | SuperTux88/diaspora,geraspora/diaspora,KentShikama/diaspora,SuperTux88/diaspora,jhass/diaspora,KentShikama/diaspora,spixi/diaspora,diaspora/diaspora,Amadren/diaspora,KentShikama/diaspora,Amadren/diaspora,despora/diaspora,despora/diaspora,Muhannes/diaspora,SuperTux88/diaspora,Amadren/diaspora,SuperTux88/diaspora,Muhanne... |
06473810f35c7f60cc9570b4d46995b92aaed082 | app/views/bookings/show.html.haml | app/views/bookings/show.html.haml | .contextual
= contextual_links_for
= icon_link_to :copy
%h1= t_title
.box
%table{:style => "width: 100%"}
%tr
%th= t_attr(:value_date, Booking)
%td= l(resource.value_date) if resource.value_date
%th= t_attr(:title, Booking)
%td= resource.title
%tr
%th= t_attr(:debit_account... | .contextual
= contextual_links_for
= icon_link_to :copy
%h1= t_title
.box
%table{:style => "width: 100%"}
%tr
%th= t_attr(:value_date, Booking)
%td= l(resource.value_date) if resource.value_date
%th= t_attr(:title, Booking)
%td= resource.title
%tr
%th= t_attr(:debit_account... | Drop second instance of comments in booking view. | Drop second instance of comments in booking view.
| Haml | agpl-3.0 | huerlisi/bookyt,hauledev/bookyt,hauledev/bookyt,silvermind/bookyt,huerlisi/bookyt,xuewenfei/bookyt,huerlisi/bookyt,xuewenfei/bookyt,gaapt/bookyt,silvermind/bookyt,silvermind/bookyt,wtag/bookyt,gaapt/bookyt,hauledev/bookyt,wtag/bookyt,gaapt/bookyt,hauledev/bookyt,silvermind/bookyt,wtag/bookyt,xuewenfei/bookyt,gaapt/book... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.