conversations
listlengths
2
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "Handle nil cases for investigation data\n\n- Handle nil cases for investigation data\n" }, { "from": "human", "value": ".investigation_other_data\n .data_header Scientific Domain\n .data_value \n = investigation.domain.name\n .data_header Grade\n .data_value ...
haml
chosen
[ { "from": "system", "value": "Add intro to index page\n" }, { "from": "human", "value": "---\ntitle: \"Posts\"\n---\n\n\n%h1 Posts\n\n%ul\n - index_items.each do |article|\n %li= title_and_date_link article\n" }, { "from": "gpt", "value": "---\ntitle: \"Home\"\n---\n\n%section.in...
haml
chosen
[ { "from": "system", "value": "Add teams count on signups view\n" }, { "from": "human", "value": "- content_for(:title) { \"Signups | #{@league.name}\" }\n\n- league_p = present(@league)\n%h1\n = league_p.link\n Signups\n\n- @divisions.each do |div|\n .card.mb-3\n .card-header= div.name\n\n...
haml
chosen
[ { "from": "system", "value": "Make alerts to be clossable\n" }, { "from": "human", "value": "- flash.each do |key, value|\n %div{class: flash_class(key), role: 'alert'}\n = value\n" }, { "from": "gpt", "value": "- flash.each do |key, value|\n %div.fade.in{class: flash_class(key)...
haml
chosen
[ { "from": "system", "value": "Fix person match partial nesting levels to match CV\n" }, { "from": "human", "value": "%n1:individual{\"xmlns:n1\" => \"http://openhbx.org/api/terms/1.0\", \"xmlns:xsi\" => \"http://www.w3.org/2001/XMLSchema-instance\", \"xsi:schemaLocation\" => \"http://openhbx.org...
haml
chosen
[ { "from": "system", "value": "Remove manufacturer from index views\n" }, { "from": "human", "value": "%table.table.table-hover#assets_datatable\n %thead\n %tr\n - SystemConfig.transam_module_names.each do |mod|\n = render :partial => \"#{mod}_asset_dt_head\" rescue nil\n %th...
haml
chosen
[ { "from": "system", "value": "Allow option elements to get data attributes\n" }, { "from": "human", "value": ":ruby\n no_options = properties[:options].nil? || properties[:options].empty?\n tooltip = properties[:tooltip]\n if properties[:selected]\n selected_title = properties[:options].fi...
haml
chosen
[ { "from": "system", "value": "Make the list of categories the same as the archives\n" }, { "from": "human", "value": "---\nlayout: default\n---\n- content_for :title do\n = categories.to_s.capitalize\n.blog-index.blog-entry\n %ul.post-list\n - page_articles.each do |post|\n %li\n ...
haml
chosen
[ { "from": "system", "value": "Change wording on the 'Waiting' status.\n" }, { "from": "human", "value": "%div.status_info\n %strong Waiting:\n Your application was acceptable but for one reason or another, we don't currently have a spot available for you. Please check back in case one opens up...
haml
chosen
[ { "from": "system", "value": "Fix loading dialog bug in Products\n" }, { "from": "human", "value": ".app-title\n %h1\n %i.fa.fa-product.invert\n Products\n .text-right\n = link_to new_product_path(:return => products_path(@entry)), :class => 'btn btn-primary loading', :remote => true ...
haml
chosen
[ { "from": "system", "value": "Remove mention of early-bird tickets\n" }, { "from": "human", "value": "---\nlayout: base_layout\n---\n\n%section#banner.banner\n .overlay\n .wrap\n .copy-wrap\n %h2\n Visibility and Leadership for\n %h1\n Women Software Developers\n\n ...
haml
chosen
[ { "from": "system", "value": "Use the header ‘receipt’ instead of ‘Order’ when purchased\n" }, { "from": "human", "value": "%h2 Order\n%hr\n\n%a.btn.btn-default.pull-right{'data-role' => 'print-button', :class => 'print-button', :onClick => \"window.print(); false;\"} Print\n\n= render @order\n\...
haml
chosen
[ { "from": "system", "value": "Update flash message to reflect change\n\nThe previous message did not correctly reflect the action that occured. This message now reflects that you approved an edit, as opposed to having your edit approved.\n" }, { "from": "human", "value": ".ui.success.message\n ...
haml
chosen
[ { "from": "system", "value": "Remove Block Button from Abuse Reports page if User is Already Blocked\r\n\r\nAn addition to https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/2292\r\n\r\nRelated to https://gitlab.com/gitlab-org/gitlab-ce/issues/4667\r\n\r\nSee merge request !2313" }, { "from": "h...
haml
chosen
[ { "from": "system", "value": "Use full team name in person search result\n" }, { "from": "human", "value": ".search-result\n .grid-wrapper\n .grid\n .inner-block\n .image-background\n = profile_image_tag person\n .details\n - index = person_iteration.inde...
haml
chosen
[ { "from": "system", "value": "Order Methods displayed under Automate Class\n\nfixing https://bugzilla.redhat.com/show_bug.cgi?id=1439911\n\nOrder methods displayed in the right side frame under the Methods\ntab when reaching Automation -> Automate -> Explorer and choosing\na class with different methods.\n"...
haml
chosen
[ { "from": "system", "value": "Fix text overflow issue on index-list pages.\n" }, { "from": "human", "value": "%ul#positionable.span12.offset1{ data: {position_url: position_url} }\n - collection.each do |resource|\n %li[resource]\n .handle.pull-left= content_tag(:div, \"drag handle\", c...
haml
chosen
[ { "from": "system", "value": "Update _about partial for dC\n" }, { "from": "human", "value": "%article#about-box\n\t%div.close-button\n\t%div\n\t\t%h1 Locate San Mateo County Services\n\t\t%p\n\t\t\tRetrieve detailed information about the services available in San Mateo County, California.\n\n\t...
haml
chosen
[ { "from": "system", "value": "Add javascript handlers for watching kefed flash" }, { "from": "human", "value": "%h1#content-title= @project.name + \": Describe Experiment\"\n\n%iframe(name='kefedFrame' id='kefedFrame' src=\"#{kefed_editor_swf_url}#{@kefed_params}\" width=\"100%\" height=\"600\")...
haml
chosen
[ { "from": "system", "value": "Hide register if event is over\n" }, { "from": "human", "value": "- if can? :register, @event\n %h2\n = t('.title')\n\n %section.event-register\n = link_to t('.button'), new_event_participant_path(@event), :class => 'btn btn-success large main'\n" }, { ...
haml
chosen
[ { "from": "system", "value": "Remove test settings button, enhance Save changes button, include Integrations bundle\n" }, { "from": "human", "value": ".row.prepend-top-default.append-bottom-default\n .col-lg-3\n %h4.prepend-top-0\n = @service.title\n = boolean_to_icon @service.acti...
haml
chosen
[ { "from": "system", "value": "Fix delete image button text." }, { "from": "human", "value": "- file = form.object.send(field.method_name).presence\n\n.toggle{:style => ('display:none;' if file && field.delete_method && form.object.send(field.delete_method) == '1')}\n - if value = field.pretty_v...
haml
chosen
[ { "from": "system", "value": "Fix announcements once and for all\n" }, { "from": "human", "value": "= simple_form_for [:admin, @announcement], defaults: {wrapper_tag: :li} do |f|\n\n %fieldset.inputs\n %ol\n = f.input :expires_on\n\n %h2 English\n\n %fieldset.inputs\n %ol\n = ...
haml
chosen
[ { "from": "system", "value": "Use more compact bordered-list for commits page\n\nSigned-off-by: Dmitriy Zaporozhets <be23d75b156792e5acab51b196a2deb155d35d6a@gmail.com>\n" }, { "from": "human", "value": "- @commits.group_by { |c| c.committed_date.to_date }.sort.reverse.each do |day, commits|\n ...
haml
chosen
[ { "from": "system", "value": "Fix for unds522 (Form Name Not Shown In Form Builder).\n\ngit-svn-id: 105a8f2fe5eb3dca76b21e204c69f6587dfa9961@970 b21a84b9-e453-0410-92a3-c4f515f7ae45\n" }, { "from": "human", "value": "%div{:id => \"formbuilder-container\"}\n %div{:id => \"formbuilder-header\"}\n...
haml
chosen
[ { "from": "system", "value": "Move the scraper 'errored' label to right-hand side\n\nIn scraper lists, move the 'errored' label from the left hand side,\nwhere it dumps in the label, to the right-hand side.\n\nThis keep the heading more prominent that the label and makes the\nscraper list layout more less v...
haml
chosen
[ { "from": "system", "value": "Add title attribute when shows file image\n" }, { "from": "human", "value": "%ul.content-grid\n - files.each do |file|\n %li{ class: \"content-grid__item content-grid__item--#{file.is_image? ? :media : :file}\"}\n - if file.is_image?\n = link_to edit...
haml
chosen
[ { "from": "system", "value": "Fix logout link, add method.\n\n" }, { "from": "human", "value": "%nav\n .nav-wrapper.container\n =link_to 'My Top 10', root_path, class: 'brand-logo'\n %ul.right.hide-on-med-and-down\n -if current_user\n %li\n =link_to user_list_new_path...
haml
chosen
[ { "from": "system", "value": "Add lang helper class to body\n" }, { "from": "human", "value": "%body#comfy.theme.theme--cms{:class => \"c-#{params[:controller].slugify} a-#{params[:action].slugify}\"}\n .l-app\n = render 'comfy/admin/cms/partials/body_before'\n = render :partial => 'layou...
haml
chosen
[ { "from": "system", "value": "Make link to Gruber's Markdown page open in a new tab\n" }, { "from": "human", "value": "- if current_user.has_permission(:freeform_proposal) and !current_organisation.proposed?\n %h3 Propose a vote\n %p.helper\n You can use\n = link_to 'Markdown', 'http://d...
haml
chosen
[ { "from": "system", "value": "Add destroy button on scaffold form for persisted records\n" }, { "from": "human", "value": "= simple_form_for(@<%= singular_table_name %>) do |f|\n = f.error_notification\n\n<%- attributes.each do |attribute| -%>\n = f.<%= attribute.reference? ? :association : :i...
haml
chosen
[ { "from": "system", "value": "Change the title of the avis invitation\n" }, { "from": "human", "value": "- content_for(:title, 'Vous avez été invité à donner votre avis')\n\n- avis_link = @avis.gestionnaire.present? ? gestionnaire_avis_url(@avis) : sign_up_gestionnaire_avis_url(@avis.id, @avis.e...
haml
chosen
[ { "from": "system", "value": "Disable Hide/Show for investigator sections\n" }, { "from": "human", "value": "%br\n- section_id = \"section_investigate_#{h(section.id)}\"\n- hide_id = section_id + \"_hide\"\n- show_id = section_id + \"_show\"\n\n%fieldset{:class => 'form_section vert-break'}\n %...
haml
chosen
[ { "from": "system", "value": "Change to flat ui fix\n" }, { "from": "human", "value": "%h1= Featured\n\n- render_curated_row('home').each do |item|\n %div\n %p\n = link_to item do\n = image_tag attachment_url(item, :featured_image, :fill, 300, 300, format: \"jpg\")\n\n %h3\n ...
haml
chosen
[ { "from": "system", "value": "Add a link on the title of the poll box\n" }, { "from": "human", "value": "- if @poll\n #poll_box.box\n %h1 Sondage\n %h2= @poll.title\n = render(\"polls/answers_#{poll_current_or_archived @poll}\", :poll => @poll, :id_suffix => \"_sidebar\")\n" }, { ...
haml
chosen
[ { "from": "system", "value": "Use bootstrap selectpicker for dropdown select\n\n+ split the dropdown select from the table\n" }, { "from": "human", "value": "#tab_div\n - if @rss_feeds.empty?\n .alert.alert-warning\n %span.pficon-layered\n %span.pficon.pficon-warning-triangle\n ...
haml
chosen
[ { "from": "system", "value": "Remove phone number\nAdd chat link\n\nSigned-off-by: Chaïb Martinez <9bad01bef23a5c5c9a5d48892366c8844a5239fd@gmail.com>\n" }, { "from": "human", "value": ".col-xs-2\n %a#title-navbar{ href: root_path }\n .row#home\n .col-lg-6.no-padding\n = image_t...
haml
chosen
[ { "from": "system", "value": "Add URL string to snapshots index view\n" }, { "from": "human", "value": "%h1\n Snapshots\n = \"for #{@url.address}\" if @url\n\n%table.table\n %thead\n %tr\n %th When?\n %th\n %th\n %th\n %tbody\n - @snapshots.each do |snapshot|\n ...
haml
chosen
[ { "from": "system", "value": "Revert \"start caching js files into one\"\n\nThis reverts commit 729baef5d79b12e492de3f0976ef3a1f2c3467ce.\n" }, { "from": "human", "value": "!!!\n%html(lang=\"#{I18n.locale}\")\n %head\n = render :partial => 'shared/meta'\n\n / HOPTOAD START\n = hoptoad_...
haml
chosen
[ { "from": "system", "value": "Add back the windo.page_params for global variable\n" }, { "from": "human", "value": "- my $configs = js_configs();\n!= $configs->{head_js_inline}\n\n- foreach my $lib (@{ $configs->{libs} }) {\n %script{:src => $lib :defer=>\"true\"}\n- }" }, { "from": "gp...
haml
chosen
[ { "from": "system", "value": "Make 'login' button go to dashboard for now\n" }, { "from": "human", "value": "-extends \"layouts/base.haml\"\n\n-block body\n .container-fluid\n .row-fluid\n .span3\n .span6\n %h2\n Welcome to\n %h1\n Governance, Risk a...
haml
chosen
[ { "from": "system", "value": "Remove text-center class from content-item-button, as it's not longer necessary\n" }, { "from": "human", "value": "= render_field_id\n= render_content_item_id\n\n= render_label\n%br\n%button.content-item-button.text-center.popup--open\n .content-item-button__select...
haml
chosen
[ { "from": "system", "value": "Fix syntax errors in devise/sessions/_new_ldap\n" }, { "from": "human", "value": "- server = local_assigns.fetch(:server)\n\n= form_tag(omniauth_callback_path(:user, server['provider_name']), id: 'new_ldap_user', class: \"gl-show-field-errors\") do\n .form-group\n ...
haml
chosen
[ { "from": "system", "value": "Update invitation confirmation form to use actions instead of buttons.\n" }, { "from": "human", "value": ".edit-user-form\n %h1= t \".title\"\n %p\n = t \".info\"\n = semantic_form_for resource, as: resource_name, url: invitation_path(resource_name), html: {me...
haml
chosen
[ { "from": "system", "value": "Move the error message to sit above the page title\n" }, { "from": "human", "value": "%h1.page-title Manage #{@provider.provider_type}\n\n%h2 Edit #{@provider.provider_type} details\n\n= form_for [:advocates, :admin, @provider], html: { novalidate: true } do |f|\n\n...
haml
chosen
[ { "from": "system", "value": "Add missing .field on dynamic fields\n" }, { "from": "human", "value": "%tr\n %td\n = f.select :user_id, User.all.map {|x| [x.email, x.id]}\n %td\n = f.check_box :read\n %td\n = f.check_box :edit\n %td\n = f.check_box :manage\n %td\n = link_to_re...
haml
chosen
[ { "from": "system", "value": "Fix translation strings and add _blank as link targets\n" }, { "from": "human", "value": ".milestone-deprecation-message.prepend-top-default.prepend-left-default\n .illustration.inline= image_tag 'illustrations/milestone_removing-page.svg', class: 'append-right-def...
haml
chosen
[ { "from": "system", "value": "Fix javascript error in diagnostics timelines tab\n\nWe're accessing a hash / object, not a variable.\n\nhttps://bugzilla.redhat.com/show_bug.cgi?id=1205492\n" }, { "from": "human", "value": "- if @sb[:active_tab] == \"diagnostics_timelines\"\n = render :partial =>...
haml
chosen
[ { "from": "system", "value": "Remove old drag handle icon from managed interactive.\n\n" }, { "from": "human", "value": "%div.embeddable-container\n .embeddable_options\n Managed interactive\n .model-edit\n .interactive-content\n %div{:id => \"authorable-interactive-#{embeddab...
haml
chosen
[ { "from": "system", "value": "Add sequence to summary title when relevant\n\nThis is also for [#57597844]\n\nhttps://www.pivotaltracker.com/story/show/57597844\n" }, { "from": "human", "value": ".summary-mod\n = content_for :title do\n = \"Response Summary for #{@activity.name}\"\n\n .actio...
haml
chosen
[ { "from": "system", "value": "Fix \"Place price-breakdown and price in the middle\"\n" }, { "from": "human", "value": ".variants.row\n .small-3.medium-4.large-6.columns.variant-name\n .inline {{ ::variant.name_to_display }}\n .variant-unit {{ ::variant.unit_to_display }}\n .bulk-buy.in...
haml
chosen
[ { "from": "system", "value": "Fix the build after the ovirt 4.0 merge\n\nThe build was working on some middleman and not others, and\nfailed in Travis. This was tested on RHEL 7, and is likely\nthe right fix.\n" }, { "from": "human", "value": ":ruby\n basedir = \"#{root}/#{source}#{current_page...
haml
chosen
[ { "from": "system", "value": "Remove trailing spaces from header partial\n" }, { "from": "human", "value": "%header#header\n .container\n %h1.header__logo.logo\n %a.scroll-to{href: \"#intro\"}\n = partial \"svg-logo\", locals: { width: 68, height: 24, strokeColor: \"#fff\" }\n ...
haml
chosen
[ { "from": "system", "value": "Fix closed shop message not displaying full-width\n" }, { "from": "human", "value": ".row.closed-shop-header\n .small-12.columns\n .content{ \"darker-background\" => true }\n %h4\n .warning-sign\n .rectangle\n %strong !\n .me...
haml
chosen
[ { "from": "system", "value": "Fix the \"allow fatal characteristics\" attribute in biologica organisms.\n" }, { "from": "human", "value": "%OTOrganism{ :local_id => ot_local_id_for(biologica_organism), :name => biologica_organism.name, :sex => biologica_organism.sex, :allowFatalCharacteristic =>...
haml
chosen
[ { "from": "system", "value": "Use correct verbiage for username in login form.\n" }, { "from": "human", "value": "= form_tag(omniauth_callback_path(:user, server['provider_name']), id: 'new_ldap_user', class: \"show-gl-field-errors\") do\n .form-group\n = label_tag :username, \"#{server['lab...
haml
chosen
[ { "from": "system", "value": "Order committee members by last name, first name.\n" }, { "from": "human", "value": "%ul.list-unstyled\n - @committee.committee_members.each do |committee_member|\n %li\n = link_to committee_member.member.name, committee_member.member\n = link_to 'Remo...
haml
chosen
[ { "from": "system", "value": "Increase the height of EmailTemplate.body form field\n" }, { "from": "human", "value": "= simple_form_for email_template, url: email_template_form_url(email_template) do |f|\n = f.input :subject\n = f.input :slug, disabled: true\n = f.input :from\n = f.input :cc...
haml
chosen
[ { "from": "system", "value": "Improve the avis invitation email footer" }, { "from": "human", "value": "- content_for(:title, 'Vous avez été invité à donner votre avis')\n\n- avis_link = @avis.gestionnaire.present? ? gestionnaire_avis_url(@avis) : sign_up_gestionnaire_avis_url(@avis.id, @avis.em...
haml
chosen
[ { "from": "system", "value": "Add capacity and duration to proposal admin screen\n" }, { "from": "human", "value": "%h1 Admin Event Proposals\n\n%table.table.table-striped\n %thead\n %tr\n %th Title\n %th Submitted by\n %th Status\n\n %tbody\n - @admin_event_proposals.each...
haml
chosen
[ { "from": "system", "value": "Sort load profiles by 'key' instead of 'name'\n" }, { "from": "human", "value": "%ul\n - load_profile_category.load_profiles.order(:name).each do |profile|\n %li\n = link_to profile do\n = profile.display_name\n %span= I18n.l(profile.created_at,...
haml
chosen
[ { "from": "system", "value": "Rename the text area class\n" }, { "from": "human", "value": ".delete\n = f.hidden_field :_destroy\n = link_to 'Delete page part', '#', :class => 'icon delete', :title => \"Delete the current page part\"\n\n= f.error_notification\n\n= f.input :title, :class => 'pa...
haml
chosen
[ { "from": "system", "value": "Update tooltip for issues related merge request status\n\n- Added relative time to the status\n- Changed date format for status date\n" }, { "from": "human", "value": "\n- if merge_request.merged?\n - mr_status_date = merge_request.merged_at\n - mr_status_title = ...
haml
chosen
[ { "from": "system", "value": "Add correct link to invitations email\n" }, { "from": "human", "value": "%p\n == #{@group.admin_user.first_name} has invited you to join #{@group.name} at #{link_to('DrawAList.com', new_user_url(token: @group.token, email: @invitation.email))}\n\n%p\n == Once a me...
haml
chosen
[ { "from": "system", "value": "Fix receipt item category form\n" }, { "from": "human", "value": "= simple_form_for @receipt_item_category do |f|\n = f.errors\n .inputs\n = f.input :name\n .form-group\n .col-sm-offset-2\n = f.submit t('general.save'), class: 'btn btn-primary'\n...
haml
chosen
[ { "from": "system", "value": "Remove unused id from shared members sort dropdown\n" }, { "from": "human", "value": ".dropdown.inline\n = dropdown_toggle(member_sort_options_hash[@sort], { toggle: 'dropdown' }, id: 'sort-members-dropdown')\n %ul.dropdown-menu.dropdown-menu-align-right.dropdown-...
haml
chosen
[ { "from": "system", "value": "Fix type in days index view.\n" }, { "from": "human", "value": "= contextual_links\n\n%h2= t_title\n\n= paginated_section @ccounts, :params => {:query => params[:query]} do\n %table.list#days_list\n %tr\n %th= t_attr :date\n %th.currency= t_attr :cash\...
haml
chosen
[ { "from": "system", "value": "Update editing enterprise page save-bar" }, { "from": "human", "value": "-# Not all inputs are ng inputs, they don't make the ng-form dirty on change.\n-# ng-change is only valid for inputs, not for a form.\n-# So we use onchange and have to get the scope to access ...
haml
chosen
[ { "from": "system", "value": "Update the reference to the disc_evidence_coversheet\n" }, { "from": "human", "value": "%h3.heading-small\n = \"Help with sending the evidence\"\n\n%p\n You have electronic evidence on disk that relates to this claim. It is recommended that you send it by recorded...
haml
chosen
[ { "from": "system", "value": "Move messages and products form outside of row and columns to enable full-width\n" }, { "from": "human", "value": "%script{ type: \"text/ng-template\", id: \"shop/shop.html\" }\n .order-cycle-bar.hide-for-large-up\n = render partial: \"shopping_shared/order_cycl...
haml
chosen
[ { "from": "system", "value": "Fix preloaded day on recurring edit.\n" }, { "from": "human", "value": "%p= form.collection_select :day, (1..31).collect, :to_s, :to_s\n%p= form.text_field :explicit_value, :class=>:money\n%p= form.text_field :vendor_name, :default=>'vendor'\n%p= form.text_field ...
haml
chosen
[ { "from": "system", "value": "Include javascripts in application layout.\n" }, { "from": "human", "value": "!!!\n%html(lang=\"#{I18n.locale}\")\n %head{ :profile => \"http://dublincore.org/documents/dcq-html/\" }\n %link{ :rel => \"schema.DC\", :href => \"http://purl.org/dc/elements/1.1/\" }...
haml
chosen
[ { "from": "system", "value": "Fix missing flash message for Re-check Authentication Status\n\nFixes https://bugzilla.redhat.com/show_bug.cgi?id=1667980\n\nFix the missing flash message for re-checking authentication status\nfor selected Container Provider, under Compute > Containers > Providers.\n" }, {...
haml
chosen
[ { "from": "system", "value": "Fix text in project move mail\n" }, { "from": "human", "value": "%td.content{align: \"left\", style: \"font-family: Helvetica, Arial, sans-serif; padding: 20px 0 0;\", valign: \"top\", width: \"600\"}\n %table{border: \"0\", cellpadding: \"0\", cellspacing: \"0\", ...
haml
chosen
[ { "from": "system", "value": "Fix event registatrion for rooms without size\n\nIf the room size is not set (which is possible as the size is not\nmandatory), the events registrations page breaks because of a\ncomparison of nil with Integer.\n" }, { "from": "human", "value": ".row\n .col-md-12\n...
haml
chosen
[ { "from": "system", "value": "Use issuable_path to allow support of epics\n" }, { "from": "human", "value": "- note_count = @issuable_meta_data[issuable.id].user_notes_count\n- issue_votes = @issuable_meta_data[issuable.id]\n- upvotes, downvotes = issue_votes.upvotes, issue_votes....
haml
chosen
[ { "from": "system", "value": "Tidy up the commented code, we need to return to that soon.\n" }, { "from": "human", "value": ".container-fluid\n On github:\n = revision_link_to @build.vcs_url, @build.vcs_revision\n - @logs.each do |l|\n -# wrapper allows the header and detail be siblings, f...
haml
chosen
[ { "from": "system", "value": "Use the '/lemma' base URI for single lemmas\n" }, { "from": "human", "value": "- dict_param = \"dict=mw\"\n%dl.entry\n %dt.lemma{\"xml:lang\" => \"san-Deva\"}\n %a{:href => \"/dict/#{result[:lemma]}?#{dict_param}\"}\n %dfn\n = result[:lemma]\n - res...
haml
chosen
[ { "from": "system", "value": "Update nav items with 'My Dashboard and Explore' based on logged in state\n" }, { "from": "human", "value": "%aside\n .container\n .logo\n %a.logo__link{:href => \"/\"}= logo_tag\n .home\n = link_to t('application.home'), root_url\n - if curren...
haml
chosen
[ { "from": "system", "value": "Update user settings submit copy\n" }, { "from": "human", "value": ".l-panel-content\n .l-constrained\n .l-panel-content__row\n .l-panel-content__col\n = comfy_form_for @user, url: url, html: {class: 'form form--vertical'}, label_col: \"form__label-h...
haml
chosen
[ { "from": "system", "value": "Make no results notices all the same width\n\nThis makes the alerts more consistent for users and simplifies\nthe source code as well.\n" }, { "from": "human", "value": ".col-xs-12\n .alert.alert-info\n Sorry, we couldn’t find any\n = @type == \"users\" ? @ty...
haml
chosen
[ { "from": "system", "value": "Check for Devise mappings before trying to use them\n" }, { "from": "human", "value": "- if current_user\n = menu_link(current_user.email, edit_user_registration_path) if Devise.mappings[:user].registerable?\n %li= link_to(\"Sign out\", destroy_user_session_path, ...
haml
chosen
[ { "from": "system", "value": "Change subscriptor form to use radio buttons, change button text to 'Choose Plan'\n" }, { "from": "human", "value": "= javascript_include_tag 'https://checkout.stripe.com/checkout.js'\n\n= effective_form_with(model: subscripter, url: effective_orders.subscripter_pat...
haml
chosen
[ { "from": "system", "value": "Make upvote a link to stop it toggling expanded of quesiton\n" }, { "from": "human", "value": ".col-xs-1.question-up-vote\n %i.fa.fa-chevron-up(id=\"vote-for-{{question.id}}\" ng-class=\"{'fa-chevron-up-voted': question.vote_id}\" ng-click=\"toggleVote()\")\n .que...
haml
chosen
[ { "from": "system", "value": "Save the content and make it work\n" }, { "from": "human", "value": "%div.row\n %h2\n Most Recent\n %ul.block-grid-sm-1\n - render_recent_newsletters(8).each do |newsletter|\n %li\n = render 'newsletters/element_notag', :local => { :item => newsl...
haml
chosen
[ { "from": "system", "value": "Make the 'most viewed posts' limit customizable.\n" }, { "from": "human", "value": "%section#most-viewed-posts\n %header\n %h4.section-title= t(\"blog.most_viewed_posts.title\")\n %span.section-legend= t(\"blog.most_viewed_posts.legend\")\n\n = render \"blog...
haml
chosen
[ { "from": "system", "value": "Use the title ‘Receipt’ on a purchased Order in default header\n" }, { "from": "human", "value": "%h3 Acme Industries Inc.\n.row\n .col-sm-6\n %p= mail_to EffectiveOrders.mailer[:admin_email] || 'info@acmeindustries.com'\n %p\n 1234 Fake Street\n %b...
haml
chosen
[ { "from": "system", "value": "Remove one “invite” occurence (also written after this occurence)" }, { "from": "human", "value": "- content_for(:title, 'Activation du compte administrateur')\n\n%p\n Bonjour,\n\n%p\n Je vous remercie de l’intérêt que vous portez à notre outil de dématérialisatio...
haml
chosen
[ { "from": "system", "value": "Fix bug where storage name was not displayed on edit page\n" }, { "from": "human", "value": "- storing ||= f.object\n- variant = Maybe(storing.parcel_item.variant)\n\n.nested-fields.storing-fields\n .delivery-item\n = f.referenced_association :storage, source: :...
haml
chosen
[ { "from": "system", "value": "Remove empty line in index\n" }, { "from": "human", "value": "- main_toolbar do |t|\n = link_to :generate_parcel.tl, { controller: :receptions, action: :new }, { class: 'btn btn-default no-icn disabled', id: 'generate-parcel-btn' }\n \n= kujaku do |k|\n - k.text\...
haml
chosen
[ { "from": "system", "value": "Add image to options value" }, { "from": "human", "value": ":ruby\n column_type_dom_id = form.dom_id(field).sub(field.method_name.to_s, \"\")\n attr = column_type_dom_id.gsub(/[a-z_]+_variants_attributes/, '').gsub(/^_/, '[').gsub(/_$/, ']')\n\n- options_for_klass...
haml
chosen
[ { "from": "system", "value": "Revert \"Revert \"Testing zero downtime deploy.\"\"\n\nThis reverts commit 82d0da03a3c518b5b095078c62cfc7630b0aa900.\n" }, { "from": "human", "value": "= link_to(\"Add project\", new_project_path)\n\n%h2 Projects:\n- @projects.each do |project|\n %p= project.name\n...
haml
chosen
[ { "from": "system", "value": "Revert \"Testing zero downtime deploy.\"\n\nThis reverts commit 2bc3cda051ddffdafe1628ca3cff19bcee75eb28.\n" }, { "from": "human", "value": "= link_to(\"Add project\", new_project_path)\n\n%h1 Projects:\n- @projects.each do |project|\n %p= project.name\n" }, { ...
haml
chosen
[ { "from": "system", "value": "Add newline to end of file\n" }, { "from": "human", "value": "- items = expand_textual_group(items)\n- if items.present?\n %table.table.table-bordered.table-striped.table-summary-screen\n %thead\n %tr\n %th{:colspan => \"6\"}\n = title\n ...
haml
chosen
[ { "from": "system", "value": "Make source branch a link\n" }, { "from": "human", "value": "%hr\n.form-horizontal.resolve-conflicts-form\n .form-group\n .col-md-4\n %h4 Resolve conflicts on source branch\n .resolve-info\n Resolve the merge conflict by choosing\n %code ...
haml
chosen
[ { "from": "system", "value": "Remove \"searchable\" field admin Texts form\n" }, { "from": "human", "value": "= simple_form_for [:admin, @text] do |f|\n = f.input :key\n = f.input :title_en\n = f.input :title_nl\n = f.input :short_content_en\n = f.input :short_content_nl\n = f.input :conte...
haml
chosen
[ { "from": "system", "value": "Improve accuracy of deploy key message.\n" }, { "from": "human", "value": "= render \"projects/settings_nav\"\n\n%p.slead\n Deploy keys allow read-only access to repository. They can be used for CI, staging or production servers\n\n%p\n You can create a deploy key...
haml
chosen
[ { "from": "system", "value": "Make entire php example runnable as is\n" }, { "from": "human", "value": "%p Use the following code snippet to get data from the API.\n\n- block = capture do\n :coderay\n #!php\n <?php\n $morph_api_url = \"[scraper_url]/data.json\";\n $morph_api_key=\"[...
haml
chosen
[ { "from": "system", "value": "Fix bug causing warning in test output\n\nTurns out that this is the code responsible for warnings like:\n\n```\nignoring attempt to close portal::teacher:0x0000000c9d8558 with html\n opened at byte 6288, line 134\n closed at byte 15429, line 409\n attributes at open: {}\n ...
haml
chosen
[ { "from": "system", "value": "web: Update meta keywords and description\n" }, { "from": "human", "value": "!!!\n%html\n %head\n %meta(charset=\"UTF-8\")\n %title= \"#{page_title}\"\n %meta(name=\"viewport\" content=\"width=device-width\" initial-scale=\"1.0\")\n - if url_for(only_pa...
haml
chosen