File: //proc/self/root/home/arjun/projects/buyercall/buyercall/templates/macros/layout/assets-old.jinja2
{# Render assets that get included on all pages. #}
{%- macro render() -%}
{{ stylesheet_tag('vendor_css', 'app_css') | safe }}
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Material+Icons" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
{{ situational() }}
{%- endmacro -%}
{# Render assets that get situationally loaded based on the endpoint. #}
{%- macro situational() -%}
{% if request.endpoint in ('billing.create',
'billing.update',
'billing.cancel',
'billing.update_payment_method') %}
<script src="https://js.stripe.com/v2/"></script>
{% endif %}
{%- endmacro -%}
{# Render polyfills for out dated browsers. #}
{%- macro polyfills() -%}
<!--[if lt IE 9]>
<script
src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
{%- endmacro -%}