Prior related tickets: [#3926] [#3927] [#3928]
[[projects]]
macro already in Allura/allura/tests/test_globals.py
(def test_macros). I grepped for [[projects
to find them. Can you update the tests to be alongside the other similar ones in test_globals.py?show_download_button
and show_proj_icon
to bool right away. Then the templates and default values in project_list.py can be booleans rather than "on" and "off" strings. .list.card h2 { left: 55px }
for it to fit.
Created #36: [3985] Project macro cleanup (1cp)
Originally by: *anonymous
Can you give me more information about this:
changing "columns" doesn't have any affect. This should change the "list" mode into 1, 2, or 3 columns for compact display of lots of projects. You'll have to have show_download_button=off and override .list.card h2 { left: 55px } for it to fit.
On my local machine columns are worked (only columns=2 and columns=3). If i right understand you - you want to add columns=1. For what columns value i must set show_download_button=off and override .list.card h2 { left: 55px }?
Closed ticket #36 '3985 Project macro cleanup' and pushed changes into 42cc_3985
Merged to dev. By the way, I realized that the standard theme doesn't support "list" mode like our sourceforge theme does. So that probably added some confusion.