Skip to content

Commit 0ec388f

Browse files
authored
Merge pull request #2953 from drgrice1/fix-pgedit-reference-link-tooltips
Fix the reference link tooltips on the PG Problem Editor page.
2 parents 3f42639 + b509bf0 commit 0ec388f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

templates/ContentGenerator/Instructor/PGProblemEditor.html.ep

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -104,18 +104,18 @@
104104
<%= link_to maketext('Sample Problems') => url_for('sample_problem_index'),
105105
target => 'techniques_window',
106106
title => maketext('Sample problem code with documentation.'),
107-
class => 'btn btn-sm btn-info',
107+
class => 'reference-link btn btn-sm btn-info',
108108
data => { bs_toggle => 'tooltip', bs_placement => 'top' } =%>
109109
<%= link_to maketext('Math Objects') => $ce->{webworkURLs}{MathObjectsHelpURL},
110110
target => 'math_objects',
111111
title => maketext('Wiki summary page for MathObjects'),
112-
class => 'btn btn-sm btn-info',
112+
class => 'reference-link btn btn-sm btn-info',
113113
data => { bs_toggle => 'tooltip', bs_placement => 'top' } =%>
114114
% # PG POD served locally
115115
<%= link_to maketext('POD') => url_for('pod_index'),
116116
target => 'pod_docs',
117117
title => maketext('Documentation from source code for PG modules and macro files.'),
118-
class => 'btn btn-sm btn-info',
118+
class => 'reference-link btn btn-sm btn-info',
119119
data => { bs_toggle => 'tooltip', bs_placement => 'top' } =%>
120120
% # PGML lab problem rendered as an unattached problem in a new window.
121121
% my $pgml_lab_source = readFile("$ce->{webworkDirs}{assets}/pg/PGMLLab/PGML-lab.pg");
@@ -124,13 +124,13 @@
124124
'PG markdown syntax used to format WeBWorK questions. '
125125
. 'This interactive lab can help you to learn the techniques.'
126126
),
127-
class => 'pgml-lab btn btn-sm btn-info',
127+
class => 'reference-link pgml-lab btn btn-sm btn-info',
128128
data => { source => url_escape($pgml_lab_source), bs_toggle => 'tooltip', bs_placement => 'top' },
129129
'PGML' =%>
130130
<%= link_to maketext('Author Info') => $ce->{webworkURLs}{AuthorHelpURL},
131131
target => 'author_info',
132132
title => maketext('Top level of author information on the wiki.'),
133-
class => 'btn btn-sm btn-info',
133+
class => 'reference-link btn btn-sm btn-info',
134134
data => { bs_toggle => 'tooltip', bs_placement => 'top' } =%>
135135
% # Only show the report bugs in problem button if editing an OPL or Contrib problem.
136136
% if ($ce->{webworkURLs}{OPLBugReporter}
@@ -149,7 +149,7 @@
149149
. 'The very first time you do this you will need to register with an email address so that '
150150
. 'information on the bug fix can be reported back to you.'
151151
),
152-
class => 'btn btn-sm btn-info',
152+
class => 'reference-link btn btn-sm btn-info',
153153
data => { bs_toggle => 'tooltip', bs_placement => 'top' } =%>
154154
% }
155155
</div>

0 commit comments

Comments
 (0)