Project

General

Profile

Actions

Bug #10247

closed

Hostname tooltip are truncated

Added by Jérôme Vizcaino over 9 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Howto reproduce :

  • create a host with a long FQDN (30+ chars)
  • goto to 'All hosts' page
  • full hostname is truncated and hovering with mouse renders a tooltip
  • tooltip truncates the displayed FQND

Bug is related to #2879

Looking at different results, it seems the tooltip width (or max-width) is hardcoded, therefore not adapting to the actual text width.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #5733: Puppet class names get shortenedResolvedTomer Brisker05/15/2014Actions
Actions #1

Updated by Dominic Cleal over 9 years ago

  • Related to Bug #5733: Puppet class names get shortened added
Actions #2

Updated by Sebastian Gerhards over 9 years ago

It would be nice, if it would be possible to set a default max-size for the trunc_with_tooltip function in the settings section of the foreman web-ui to override the default of 32 characters. Thus it would render the hardcoded values in the HTML templates superfluous.

Otherwise the size could be made dependent on the width of the column. Usually there is lots of usable space left in the rows.

Actions #3

Updated by Tomer Brisker over 9 years ago

  • Status changed from New to Resolved
  • Translation missing: en.field_release set to 35

This is fixed for 1.9. Fixed by the PR for #8861.
Please reopen if occurs again with Foreman >= 1.9.

Actions

Also available in: Atom PDF