Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hub
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Package registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
thomasDOTwtf
hub
Commits
7aeab40d
Commit
7aeab40d
authored
Dec 17, 2021
by
smtw
Browse files
Options
Downloads
Patches
Plain Diff
fix: components sample rooms needs slug key
parent
94beb942
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plainui/jinja2/plainui/component_gallery.html
+2
-2
2 additions, 2 deletions
src/plainui/jinja2/plainui/component_gallery.html
with
2 additions
and
2 deletions
src/plainui/jinja2/plainui/component_gallery.html
+
2
−
2
View file @
7aeab40d
...
@@ -28,8 +28,8 @@
...
@@ -28,8 +28,8 @@
{% set assembly2 = {"id": "2", "name": "assembly example 2 - official", "slug": "assembly_slug2", "is_official": true, "banner_image": {"url": image_url}, "description": "Lorem Ipsum ..." } %}
{% set assembly2 = {"id": "2", "name": "assembly example 2 - official", "slug": "assembly_slug2", "is_official": true, "banner_image": {"url": image_url}, "description": "Lorem Ipsum ..." } %}
{% set assemblies = [ assembly1, assembly2, assembly1, assembly2, assembly1, assembly2 ] %}
{% set assemblies = [ assembly1, assembly2, assembly1, assembly2, assembly1, assembly2 ] %}
{% set room1 = {"id": "8387a222-536d-4bb6-b15a-9b3688fda7d9", "name": "room example 1", "room_type": "bbb", "capacity": 42, "occupants": 23 } %}
{% set room1 = {"id": "8387a222-536d-4bb6-b15a-9b3688fda7d9", "name": "room example 1",
"slug":"abc",
"room_type": "bbb", "capacity": 42, "occupants": 23 } %}
{% set room2 = {"id": "8387a222-536d-4bb6-b15a-9b3688fda7a5", "name": "room example 2", "room_type": "workshop", "capacity": 42 } %}
{% set room2 = {"id": "8387a222-536d-4bb6-b15a-9b3688fda7a5", "name": "room example 2",
"slug":"abcd",
"room_type": "workshop", "capacity": 42 } %}
{% set rooms = [ room1, room2 ] %}
{% set rooms = [ room1, room2 ] %}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment