Opened 9 years ago
Closed 9 years ago
#1552 closed enhancement (fixed)
Tidy up translation projects overview
Reported by: | DeFries | Owned by: | ocean90 |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Translate Site & Plugins | Keywords: | needs-patch |
Cc: |
Description
When you navigate to, for example, the available translation projects for themes in Dutch, you get greeted with a very messy page layout. Messy in the sense that some themes use very long descriptions and some very short.
We should either use an excerpt of the theme description or use masonry to display the short and the long variations in a neat fashion.
Attachments (1)
Change History (11)
#1
@
9 years ago
Example URL is was looking at: https://translate.wordpress.org/locale/nl/default/wp-themes
#3
@
9 years ago
That would be my preference as well. Equal height for all the .projects .project
elements.
#4
@
9 years ago
Want to work up a patch? Code is here.
#5
@
9 years ago
CSS part would be easily fixed, sure, but I don't know what the best way to go about getting an excerpt for $sub_project->description
would be. Is this running on GlotPress the plugin already?
#6
@
9 years ago
No, but it will be soon. If you want to create a patch for GlotPress-the-plugin instead, that code is up one level. It'll be live soon enough so it's okay to fix it there instead.
Can we set a max amount of characters to output perhaps?
#8
@
9 years ago
- Keywords needs-patch added
Patches only for GlotPress-the-plugin please. We can use wp_trim_words() and if we want to make it masonry-like we can use CSS' column property.
Screenshot of mess