Skip to content

Commit

Permalink
feat(question,section): tip on conditions count
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <[email protected]>
  • Loading branch information
btry committed Sep 8, 2020
1 parent 25cb6b7 commit 303fe86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/question.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public static function showForForm(CommonDBTM $item, $withtemplate = '') {
'itemtype' => PluginFormcreatorSection::getType(),
'items_id' => $section->getID(),
]);
echo "<sup class='plugin_formcreator_conditions_count'>$nb</sup>";
echo "<sup class='plugin_formcreator_conditions_count' title='" . __('Count of conditions', 'formcreator') ."'>$nb</sup>";

echo $section->fields['name'];
echo '</a>';
Expand Down Expand Up @@ -202,7 +202,7 @@ public static function showForForm(CommonDBTM $item, $withtemplate = '') {
'itemtype' => PluginFormcreatorQuestion::getType(),
'items_id' => $question->getID(),
]);
echo "<sup class='plugin_formcreator_conditions_count'>$nb</sup>";
echo "<sup class='plugin_formcreator_conditions_count' title='" . __('Count of conditions', 'formcreator') ."'>$nb</sup>";

echo $question->fields['name'];
echo "<a>";
Expand Down

0 comments on commit 303fe86

Please sign in to comment.