File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 151
151
VERSION_TXT = BASE_DIR / 'version.txt'
152
152
MEDIA_URL = '/media/'
153
153
WQ_CONFIG = {
154
+ "logo" : "/icon-192.png" ,
154
155
"material" : {
155
156
"theme" : {
156
157
"primary" : "#7500ae" ,
157
158
"secondary" : "#0088bd"
158
159
}
159
160
},
160
161
"map" : {
161
- "bounds" : [[- 180 , - 70 ], [180 , 70 ]]
162
+ "bounds" : [[- 180 , - 70 ], [180 , 70 ]]
162
163
}
163
164
}
164
165
Original file line number Diff line number Diff line change 5
5
6
6
rest .router .register_model (
7
7
Category ,
8
+ icon = "config" ,
9
+ description = "Manage available categories" ,
10
+ section = "Admin" ,
11
+ show_in_index = "can_change" ,
8
12
fields = "__all__" ,
9
13
cache = "all" ,
10
14
background_sync = False ,
11
15
)
12
16
13
17
rest .router .register_model (
14
18
Observation ,
19
+ icon = "list" ,
20
+ description = "View and submit photos{% if with_gis %} on map{% endif %}" ,
21
+ section = "Contributions" ,
15
22
serializer = ObservationSerializer ,
16
23
cache = "first_page" ,
17
24
background_sync = True ,{% if with_gis % }
You can’t perform that action at this time.
0 commit comments