Making WordPress.org

Opened 11 years ago

Closed 10 years ago

#1552 closed enhancement (fixed)

Tidy up translation projects overview

Reported by: DeFries Owned by: ocean90
Priority: normal Milestone:
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)

Screenshot 2016-01-31 16.49.39.png (217.7 KB ) - added by DeFries 11 years ago.
Screenshot of mess

Download all attachments as: .zip

Change History (11)

@DeFries
11 years ago

Screenshot of mess

#2 @samuelsidler
11 years ago

I think using an excerpt is a good idea.

#3 @DeFries
11 years ago

That would be my preference as well. Equal height for all the .projects .project elements.

Last edited 11 years ago by DeFries (previous) (diff)

#4 @samuelsidler
11 years ago

Want to work up a patch? Code is here.

#5 @DeFries
11 years ago

CSS part would be easily fixed, sure, but I don't know what the best way to go about to get an excerpt for $sub_project->description would be. Is this running on GlotPress the plugin already?

Version 0, edited 11 years ago by DeFries (next)

#6 @samuelsidler
11 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?

#7 @DeFries
11 years ago

I'll do a poke around this week and get back to you.

#8 @ocean90
11 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.

#9 @ocean90
10 years ago

#1633 was marked as a duplicate.

#10 @ocean90
10 years ago

  • Owner set to ocean90
  • Resolutionfixed
  • Status newclosed

In 2865:

Translate: Trim project descriptions on locale overviews.

Fixes #1552.

Note: See TracTickets for help on using tickets.