Skip to content

Commit

Permalink
feat: add compose url option to the ripe-sdk demo
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo committed Jun 23, 2023
1 parent 06df469 commit 7c8c3b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/python/ripe_demo/controllers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ def simple(self):
return self.template(
"simple.html.tpl",
url=self.field("url"),
compose_url=self.field("compose_url"),
brand=self.field("brand"),
model=self.field("model"),
variant=self.field("variant"),
Expand Down
2 changes: 1 addition & 1 deletion src/python/ripe_demo/templates/partials/layout.html.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<title>{{ title }}{% block title %}RIPE SDK Demo{% endblock %}</title>
{% endblock %}
</head>
<body class="{% block body_class %}ux wait-load{% endblock %}" data-url="{{ url|default('', True) }}"
<body class="{% block body_class %}ux wait-load{% endblock %}" data-url="{{ url|default('', True) }}" data-compose_url="{{ compose_url|default('', True) }}"
data-brand="{{ brand|default('', True) }}" data-model="{{ model|default('', True) }}"
data-variant="{{ variant|default('', True) }}" data-version="{{ version|default('', True) }}"
data-country="{{ country|default('', True) }}" data-currency="{{ currency|default('', True) }}"
Expand Down

0 comments on commit 7c8c3b5

Please sign in to comment.