conversations
listlengths
2
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "human", "value": "Fix for order of {% javascript %} generation.\n" }, { "from": "gpt", "value": "{% extends \"admin_edit_widget_std.tpl\" %}\n\n{# A map admin_edit widget #}\n\n\n{% block widget_title %}{_ Geodata _}{% endblock %}\n{% block widget_show_minimized %}false{% endblock %}\...
smarty
chosen
[ { "from": "system", "value": "Make use of core getNavBar\n" }, { "from": "human", "value": "{if !isset($groupTrackerItemId)}{assign var=groupTrackerItemId value=$smarty.request.organicgroup scope=global}\n{/if}\n\n{if $groupTrackerItemId}\n\t{wikiplugin _name=\"list\"}\n\t{literal}\n\t\t{list ma...
smarty
chosen
[ { "from": "human", "value": "Add template utilizing PHP5 ::class\n" }, { "from": "gpt", "value": "<?php\n\nnamespace %namespace%;\n\nuse PhpSpec\\ObjectBehavior;\nuse Prophecy\\Argument;\n\nclass %name% extends ObjectBehavior\n{\n function it_is_initializable()\n {\n $this->shouldHa...
smarty
chosen
[ { "from": "human", "value": "Add template to hide properties based on attribute\n" }, { "from": "gpt", "value": "{extends file=\"parent:frontend/detail/tabs/description.tpl\"}\n\n{block name='frontend_detail_description_properties'}\n {if $sArticle.sProperties}\n <div class=\"product--...
smarty
chosen
[ { "from": "human", "value": "Add an Upcoming events panel\n" }, { "from": "gpt", "value": "{foreach item=result from=$results}\n\t<div class=\"media\">\n\t\t<div class=\"pull-left event_left_panel_home\">\n\t\t\t<span>\n\t\t\t{if $result.tracker_field_startDate2|date_format:\"%b %e\" eq $result....
smarty
chosen
[ { "from": "human", "value": "Add initial project template for CodeBlocks IDE\n" }, { "from": "gpt", "value": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\" ?>\n<CodeBlocks_project_file>\n\t<FileVersion major=\"1\" minor=\"6\" />\n\t<Project>\n\t\t<Option title=\"{{project_name}}\" ...
smarty
chosen
[ { "from": "human", "value": "[ENH] Send notification email to group leaders when a user join/leave a group\n\ngit-svn-id: a7fabbc6a7c54ea5c67cbd16bd322330fd10cc35@45811 b456876b-0849-0410-b77d-98878d47e9d5\n" }, { "from": "gpt", "value": "{tr}You are getting this email because you are a group le...
smarty
chosen
[ { "from": "human", "value": "[collection] Add template for list with label and URI\n" }, { "from": "gpt", "value": "<ul>\n{% for item in items %}\n {% if item['@id'] as uri %}\n <a href=\"{{ uri }}\">\n <li>{{ item['rdfs:label'] }}</li>\n </a>\n {% else %}\n ...
smarty
chosen
[ { "from": "human", "value": "[edit] Check on admin rights of link to admin\n" }, { "from": "gpt", "value": "{% with m.config.i18n.language_list.list as languages %}\n {% with m.rsc[id].language as r_lang %}\n {% wire id=#form type=\"submit\" \n\t postback={\n\t rsc_ed...
smarty
chosen
[ { "from": "human", "value": "Add alternative urls to the head for translations of the current page.\n" }, { "from": "gpt", "value": "{% if id and id.language %}{% for code in id.language %}{% if z_language != code %}\n\t<link rel=\"alternate\" hreflang=\"{{ code }}\" href=\"{{ m.rsc[id].page_url...
smarty
chosen
[ { "from": "human", "value": "Enable watch events for comments on wiki pages\n\n\ngit-svn-id: a7fabbc6a7c54ea5c67cbd16bd322330fd10cc35@2915 b456876b-0849-0410-b77d-98878d47e9d5\n" }, { "from": "gpt", "value": "{tr}The page {$mail_page} was commented by {$mail_user} at {$mail_date|tiki_short_datet...
smarty
chosen
[ { "from": "human", "value": "Add a new doc page\n" }, { "from": "gpt", "value": "<h2>How to set the development mode</h2>\n\n<p>To set the development mode, please edit <code>~/_YOUR-PROTECTED-FOLDER/app/configs/config.ini</code><br />\nReplace <code>\"environment = production\"</code> by <code>...
smarty
chosen
[ { "from": "human", "value": "Add basics form person subttiel\n" }, { "from": "gpt", "value": "{% with m.rsc[id] as r %}\n{% with not id or m.rsc[id].is_editable as is_editable %}\n<fieldset class=\"form-horizontal\">\n\n {% include \"form/_field_singleline.tpl\" name=`title` label=\"Title\" %...
smarty
chosen
[ { "from": "system", "value": "TFLu: Update MBED version to mbed-os-6.0.0-alpha-3\n" }, { "from": "human", "value": "https://github.com/ARMmbed/mbed-os/#8ef742a49c1682f9ef3ba50148b871e38c3866cc\n" }, { "from": "gpt", "value": "https://github.com/ARMmbed/mbed-os/#532654ebb31c7bf7960104...
smarty
chosen
[ { "from": "human", "value": "Add the Check Request history\n" }, { "from": "gpt", "value": "<span class=\"activity-log\">\n<h3>Check Request History</h3>\n<table class=\"activity-table\">\n<tr><th>Date</th><th>Edited by</th><th>Status</th><th>Routed to</th></tr>\n{foreach from=$activityLog item=...
smarty
chosen
[ { "from": "system", "value": "Move repository at the end\n\nSigned-off-by: Steeve Morin <7f3ba7bbc079b62d3fe54555c2b0ce0ddda2bb7c@gmail.com>\n" }, { "from": "human", "value": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<addon id=\"plugin.video.pulsar\" name=\"Pulsar\" version...
smarty
chosen
[ { "from": "human", "value": "Add field template for grouped selects\n" }, { "from": "gpt", "value": "\t<div class='field select'>\n\t\t<label for='id_{{$field.0}}'>{{$field.1}}</label>\n\t\t<select name='{{$field.0}}' id='id_{{$field.0}}'>\n\t\t\t{{foreach $field.4 as $group=>$opts}}\n\t\t\t\t<o...
smarty
chosen
[ { "from": "human", "value": "Revert \"comment form szerk tpl törlés\"\n\nThis reverts commit 308021fb1ba3692afbdc4e46bff1a138f2ceba58.\n" }, { "from": "gpt", "value": "<form action=\"index.php?muvelet=szerkeszt&comment_id=%comment_id%\" method=\"post\">\n\t<label for=\"comment%comment_id%\"></la...
smarty
chosen
[ { "from": "human", "value": "Add test for relationship to_one\n" }, { "from": "gpt", "value": "{{- if .Table.IsJoinTable -}}\n{{- else -}}\n {{- $dot := . -}}\n {{- range .Table.FKeys -}}\n {{- $rel := textsFromForeignKey $dot.Tables $dot.Table . -}}\nfunc Test{{$rel.LocalTable.NameGo}}ToOn...
smarty
chosen
[ { "from": "human", "value": "Add a test template for event messages\n" }, { "from": "gpt", "value": "<h4>Events</h4>\n<table id=\"messageDumpTable\" style=\"font-size:0.8em;border-collapse:collapse;\">\n <thead>\n <tr>\n <th>Date</th>\n <th>Reason</th>\n <th> </th>\n </tr>\n </thead>\n <...
smarty
chosen
[ { "from": "human", "value": "Add PlatformIO IDE as recommended extension for VSCode's workspace\n" }, { "from": "gpt", "value": "{\r\n\t// See http://go.microsoft.com/fwlink/?LinkId=827846\r\n\t// for the documentation about the extensions.json format\r\n\t\"recommendations\": [\r\n\t\t\"platfor...
smarty
chosen
[ { "from": "human", "value": "Enable watch events for comments on wiki pages\n\n\ngit-svn-id: 3d5924c06390d9880c3f6dc8614bfed48a70bf89@2915 b456876b-0849-0410-b77d-98878d47e9d5\n" }, { "from": "gpt", "value": "{tr}The page {$mail_page} was commented by {$mail_user} at {$mail_date|tiki_short_datet...
smarty
chosen
[ { "from": "human", "value": "[ENH] Send notification email to group leaders when a user join/leave a group\n\ngit-svn-id: a7fabbc6a7c54ea5c67cbd16bd322330fd10cc35@45804 b456876b-0849-0410-b77d-98878d47e9d5\n" }, { "from": "gpt", "value": "{tr}You are getting this email because you are a group le...
smarty
chosen