Allow reordering of screenshots
Bug #1823634 reported by
GunChleoc
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Widelands Website |
New
|
Undecided
|
Unassigned |
Bug Description
At the moment, screenshots are shown in the order that they were uploaded. The order for Build 20 is less than ideal, but it can't be changed without reuploading everything.
So, I'd like a feature in the admin interface that allows reordering.
Related branches
lp:~widelands-dev/widelands-website/screshot_ordering
- GunChleoc: Approve
-
Diff: 281 lines (+144/-44)8 files modifiednotification/migrations/0003_auto_20190409_0924.py (+20/-0)
wlhelp/migrations/0002_auto_20190410_1734.py (+36/-0)
wlscreens/admin.py (+7/-0)
wlscreens/migrations/0002_auto_20190410_1737.py (+28/-0)
wlscreens/models.py (+44/-25)
wlscreens/templates/wlscreens/index.html (+1/-0)
wlscreens/urls.py (+1/-2)
wlscreens/views.py (+7/-17)
To post a comment you must log in.
Good idea. We have to add a new integer field for the table then, e.g. 'position'.
To make it smart, e.g. to not have the same position twice when doing a reordering, this can be difficult, but should be doable.
Do you want it before the switch to python3?