sensu / sensu-dashboard

A dashboard for Sensu, for displaying & managing events & clients.
http://sensuapp.org
MIT License
96 stars 44 forks source link

Truncate list-view output to 70 chars OR first newline #155

Closed nstielau closed 9 years ago

nstielau commented 10 years ago

Currently, the list view truncates the output to 70 characters. If a check has a concise summary followed by a newline, it's cleaner to truncate at the newline, rather than the full 70 characters.

amdprophet commented 10 years ago

Have you already patched this into your fork of the dashboard? If not I'll hammer this out soon; should be simple.

nstielau commented 10 years ago

Yeah, made a truncate helper in for handlebars, and call that in the view. It should be in our fork on GitHub, but anything you come up with should work. On May 6, 2014 3:26 PM, "Justin Kolberg" notifications@github.com wrote:

Have you already patched this into your fork of the dashboard? If not I'll hammer this out soon; should be simple.

— Reply to this email directly or view it on GitHubhttps://github.com/sensu/sensu-dashboard/issues/155#issuecomment-42367868 .