Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions doc/liquid/tags.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@ Font Awesome:
- font-awesome/4.3.0/css/font-awesome.css
- font-awesome/4.3.0/css/font-awesome.min.css

jQuery 1.7.1:
- jquery/1.7.1/jquery.min.js

jQuery 3.5.0:
jQuery:
- jquery/3.5.0/jquery.min.js
- jquery/3.7.1/jquery.min.js

jQuery UI 1.11.4:
- jquery-ui/1.11.4/jquery-ui.css
Expand All @@ -43,7 +41,7 @@ SwaggerUI 2.1.3

SwaggerUI 2.2.10
- swagger-ui/2.2.10/swagger-ui.js


__Example:__ Using cdn_asset tag in liquid
```liquid
Expand All @@ -58,7 +56,7 @@ Renders body of a page. Use this only inside a layout.

Prints all liquid variables available in a template into an HTML comment.'
We recommend __to remove this tag__ from public templates.


```liquid
{% debug:help %}
Expand Down Expand Up @@ -94,7 +92,7 @@ SMTP header for the message.
| reply-to | | {% reply-to = 'support@example.com' %} |
| header | custom SMTP header | {% header 'X-SMTP-Group' = 'Important' %} |
| do_not_send | discard the email | {% do_not_send %} |


__Example:__ Conditional blind carbon copy
```liquid
Expand Down Expand Up @@ -212,7 +210,7 @@ of the form. The supported forms are:
</td>
</tr>
</table>


__Example:__ A form to create an application
```liquid
Expand Down Expand Up @@ -283,7 +281,7 @@ Includes a widget to review or change application plan


This tag includes portlet by system name.

# Tag 'sort_link'

Renders a link that sorts the column of table based on current params
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
{{ '/css/bootstrap.css' | stylesheet_link_tag }}
{% cdn_asset /font-awesome/4.3.0/css/font-awesome.css %}

{% cdn_asset /jquery/3.5.0/jquery.min.js %}
{% cdn_asset /jquery/3.7.1/jquery.min.js %}

{{ '/javascripts/bootstrap.min.js' | javascript_include_tag }}
{{ '/javascripts/vendor/colorbox/jquery.colorbox-patched.js' | javascript_include_tag }}
Expand Down
3 changes: 2 additions & 1 deletion lib/developer_portal/lib/liquid/tags/cdn_asset.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ def initialize(tag_name, file, tokens)
- font-awesome/4.3.0/css/font-awesome.css
- font-awesome/4.3.0/css/font-awesome.min.css
jQuery 3.5.0:
jQuery:
- jquery/3.5.0/jquery.min.js
- jquery/3.7.1/jquery.min.js
jQuery UI 1.11.4:
- jquery-ui/1.11.4/jquery-ui.css
Expand Down
2 changes: 2 additions & 0 deletions public/dev-portal-assets/jquery/3.7.1/jquery.min.js

Large diffs are not rendered by default.