Changes

no edit summary
Line 46: Line 46:  
_alternative_name_template = [[<div style="display: inline-block; vertical-align: middle;"><small>''${label}:''</small></div> <div style="display: inline-block; vertical-align: middle;"><small>''${name}<br />${japanese_name}''</small></div>]],
 
_alternative_name_template = [[<div style="display: inline-block; vertical-align: middle;"><small>''${label}:''</small></div> <div style="display: inline-block; vertical-align: middle;"><small>''${name}<br />${japanese_name}''</small></div>]],
 
_fit_group_template = " (${fit_group})",
 
_fit_group_template = " (${fit_group})",
 +
_fit_group_tooltip = "Fit group based on experimental findings",
 
_library_name_label = "Library name",
 
_library_name_label = "Library name",
 
_list_name_label = "List name",
 
_list_name_label = "List name",
Line 218: Line 219:  
end
 
end
 
if eq_type == 3 or eq_type == 38 then
 
if eq_type == 3 or eq_type == 38 then
self._vars.fit_group = format{self._fit_group_template, fit_group = self._equipment:gun_fit_group()}
+
self._vars.fit_group = format{self._fit_group_template, fit_group = Formatting:tooltip(self._equipment:gun_fit_group(), self.fit_group_tooltip)}
 
else
 
else
 
self._vars.fit_group = ""
 
self._vars.fit_group = ""
Anonymous user