Commit Graph

275 Commits

Author SHA1 Message Date
Lukáš Kucharczyk 11cea2142a
dont display year if none 2024-11-27 18:47:25 +01:00
Lukáš Kucharczyk 13e607f9a7
Add error handling if no Sessions exist 2024-11-27 18:35:44 +01:00
Lukáš Kucharczyk fc0d8db8e8
consistently format prices everywhere 2024-11-15 22:53:07 +01:00
Lukáš Kucharczyk 8acc4f9c5b
make table work better on small screens 2024-11-13 21:28:44 +01:00
Lukáš Kucharczyk 19676f8441 Implement converting prices ()
Reviewed-on: 
2024-11-11 16:36:57 +00:00
Lukáš Kucharczyk f61cde180f Pass search_string to search_field.html 2024-11-10 00:05:33 +01:00
Lukáš Kucharczyk a53818257c Fix being unable to override c-vars from render_from_string 2024-11-10 00:05:11 +01:00
Lukáš Kucharczyk 2d3ea714c4 Extend session search 2024-11-09 23:52:09 +01:00
Lukáš Kucharczyk 832bb48983 Device: safe long type names directly in database 2024-11-09 23:51:28 +01:00
Lukáš Kucharczyk c6b1badf39 add session search 2024-11-09 21:34:01 +00:00
Lukáš Kucharczyk d9290373b0
also sort purchases by created_at 2024-10-18 09:50:10 +02:00
Lukáš Kucharczyk f8d621e710
fix stat dropdown 2024-10-16 18:31:12 +02:00
Lukáš Kucharczyk 9992d9c9bd
set edition platform to unspecified if none 2024-10-16 18:06:40 +02:00
Lukáš Kucharczyk 2ae81bb00f
update django-cotton to 1.2.1 2024-10-16 17:49:55 +02:00
Lukáš Kucharczyk 23502eab85
do not throw error when no stats to calculate 2024-10-16 17:45:23 +02:00
Lukáš Kucharczyk c517d735c7
use unified dateformat more 2024-10-16 17:45:23 +02:00
Lukáš Kucharczyk 19056f846e
view_game: display timezone-aware time for end timestamp 2024-10-16 17:45:23 +02:00
Lukáš Kucharczyk 0759ad0804
make purchase price a float 2024-10-16 17:45:23 +02:00
Lukáš Kucharczyk 228fc2bf5f
avoid exception on game overview when sessions are 0 2024-10-16 17:45:23 +02:00
Lukáš Kucharczyk a5a7041920
rename icon 2024-10-16 17:45:23 +02:00
Lukáš Kucharczyk fbd829f70e
order platforms by name 2024-10-16 17:45:23 +02:00
Lukáš Kucharczyk 4873f25248
remove css cruft 2024-10-16 17:45:23 +02:00
Lukáš Kucharczyk 3578f1707f
add more icons 2024-10-16 17:45:23 +02:00
Lukáš Kucharczyk b74ccb6eaa
Remove extraneous statement 2024-10-16 17:45:23 +02:00
Lukáš Kucharczyk b0b1bb2d42
add icon field to platform, use everywhere 2024-10-16 17:45:23 +02:00
Lukáš Kucharczyk c40764a02f
fix bug in Component
A leftover from when there was only the A component function,
this bug was not found earlier because we used
templates instead of tags most of the time.
2024-09-14 10:40:03 +02:00
Lukáš Kucharczyk 649351efde
implement platform icons 2024-09-14 06:42:34 +02:00
Lukáš Kucharczyk 698c8966c0
add purchase date to game view 2024-09-11 11:40:17 +02:00
Lukáš Kucharczyk 7f6584ecf7
finish purchase from list 2024-09-11 11:39:54 +02:00
Lukáš Kucharczyk 540f5ee42c
align last column to the right 2024-09-11 11:39:48 +02:00
Lukáš Kucharczyk 1c73268258
redirect to purchase list after modifying purchase 2024-09-10 14:50:49 +02:00
Lukáš Kucharczyk 3063a3d143
refund purchase from list 2024-09-10 14:50:02 +02:00
Lukáš Kucharczyk b589199ca6
drop purchase from list 2024-09-10 14:46:50 +02:00
Lukáš Kucharczyk 2fc661dade
re-add button titles 2024-09-10 14:46:10 +02:00
Lukáš Kucharczyk 1f535a6e84
formatting 2024-09-10 14:26:06 +02:00
Lukáš Kucharczyk a9c1135639
improve layout 2024-09-09 11:25:29 +02:00
Lukáš Kucharczyk 58cfaca1a9
add table header actions 2024-09-08 21:03:37 +02:00
Lukáš Kucharczyk c1b3493c80
Merge calculated and manual duration 2024-09-07 23:35:59 +02:00
Lukáš Kucharczyk a1df8720f5
Fix missing variable reference 2024-09-07 23:20:17 +02:00
Lukáš Kucharczyk 98c9c1faee
move time-related functionality out of views.general 2024-09-04 21:55:22 +02:00
Lukáš Kucharczyk 645ffa0dad
update styles 2024-09-03 22:39:25 +02:00
Lukáš Kucharczyk 4358708262
add links to add a new X to: game, edition, purchase, session, device, platform 2024-09-03 15:48:58 +02:00
Lukáš Kucharczyk c738245783
Properly display non-game type names 2024-09-02 23:52:28 +02:00
Lukáš Kucharczyk 57184ceea0
add one more breakpoint to better utilize smaller screens 2024-09-02 23:44:18 +02:00
Lukáš Kucharczyk c2b9409562
update styles 2024-09-02 20:14:52 +02:00
Lukáš Kucharczyk e067e65bce
linkify game, edition, purchase, session references
also add link styles for links in a table row
2024-09-02 20:04:21 +02:00
Lukáš Kucharczyk b8258e2937
replace slippers with django-cotton
main reason: slippers cannot pass request via context inside its
components, making it annoying to use template takes that take request.
more reasons: not actively worked on, no named slots, having to define
components in components.yaml + new components do not get registered
without restarting server
2024-09-02 17:43:41 +02:00
Lukáš Kucharczyk 9af4c79947
improve game view 2024-08-19 21:58:43 +02:00
Lukáš Kucharczyk d8b8182b91
fix table top rounding 2024-08-13 08:36:40 +02:00
Lukáš Kucharczyk 2fd44c1f53
separate views out 2/2 2024-08-12 21:52:26 +02:00