75c89c132fcd13a2c612ba6274cefd8c2af47723
Introduced a new macro `render` in `partials/oneliner.html` to handle the display of the oneliner for cases. This macro encapsulates the logic for rendering the oneliner, including states for ready, empty, error, pending, and generating. The `case_page.html` and `my_cases.html` templates are updated to use this new macro. This refactoring centralizes the oneliner rendering logic, making it more maintainable and consistent across different views. Additionally, the `OnelinerDisplay` enum is now used in `CasePageTemplate` and `MyCasesTemplate` to represent the different states of the oneliner, improving type safety and clarity.
Description
No description provided
Languages
Rust
74%
Kotlin
12.7%
HTML
4.9%
Python
4.1%
Shell
3.8%
Other
0.5%