Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "listcurrencies": {
- "title": "{!!List currencies!!}",
- "menus": {
- "m1": {
- "type": "topmenu",
- "combine": "replace",
- "items": [
- {
- "title": "{!!Create new currency!!}",
- "action": {
- "type": "nav",
- "linktype": "window",
- "link": "newcurrency"
- }
- }
- ]
- }
- },
- "elements": {
- "root": {
- "width": "100%",
- "height": "auto",
- "layout": {
- "type": "VerticalList",
- "list": [
- "currency"
- ]
- },
- "children": {
- "currency": {
- "type": "entitylist",
- "entity": "currency",
- "data-source": {
- "currency": "currency?_with=country"
- },
- "preload": 0,
- "autoload": 1,
- "entitymenu": {
- },
- "cells": [
- {
- "value": "$id - $sign - $country.code",
- "class": "header",
- "action": {
- "type": "nav",
- "linktype": "window",
- "link": "editcurrency?id=$id"
- }
- },
- "country"
- ]
- }
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement