Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
lib-py-b2b / notification_templates / error_message.jinja2
Size: Mime:
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>B2B Business Error</title>
    <style type="text/css">
        body { margin: 0; padding: 0; min-width: 100%!important; color:#242424}
        .content { width: 100%; max-width: 600px;}
        @media only screen and (min-device-width: 601px) {
            .content {
                width: 600px !important;
            }
        }
        .content { padding: 0px 30px 20px 30px; color:#242424}
        .header { padding-top: 0.5em; color:#242424}
        .subhead1 { font-size: 18px; color: #555555; font-family: sans-serif; font-weight: 300;}
        .subhead2 { font-size: 15px; color: #C26769; font-family: sans-serif; font-weight: 300; letter-spacing: 1px;}
        .h1 { font-size: 33px; line-height: 38px; font-weight: bold;}
        .h1, .h2, .h4 .bodycopy { color: #153643; font-family: sans-serif;}
        li { font-size: 14px; color: #888888; font-family: sans-serif; font-weight: 300; padding-left:0.5em;}
    </style>
</head>
<body>
    <div class="content">
        <h1 class="header">E-commerce Integration Error</h1>
        <h2>Order: {{ order_id }}</h2>
        <h4 class="subhead2">{{ message }}</h4>
        {% if errors|length > 0 %}
            {% if errors|length > 1 %}
                <ul>
                    {% for error in errors %}
                        {% if 'message' in error %}
                            <li>{{ error['message'] }}</li>
                        {% else %}
                            <li>{{ error }}</li>
                        {% endif %}
                    {% endfor %}
                </ul>
            {% else %}
                {% if 'message' in errors[0] %}
                    <p>{{ errors[0]['message'] }}</p>
                {% else %}
                    <p>{{ errors[0] }}</p>
                {% endif %}
            {% endif %}
        {% endif %}
    </div>
    </body>
</html>