This repository was archived by the owner on Aug 31, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 336336
337337 break ;
338338 case 'icon' :
339- jiraTicketLinkLabel = '<i class="fa fa-ticket" aria-hidden="true"></i>' ;
339+ jiraTicketLinkLabel = this . buildSpriteIcon ( 'issues' ) ;
340340 jiraTicketLinkToolip = 'Jira ticket ' + mergeRequestNode . dataset . jiraTicketId ;
341341
342342 break ;
363363
364364 if ( this . preferences . enable_button_to_copy_mr_info ) {
365365 let copyMrInfoButton = '<button class="btn btn-secondary btn-md btn-default btn-transparent btn-clipboard has-tooltip gmrle-copy-mr-info" title="Copy Merge Request info" style="padding-left: 0">' +
366- '<i class="fa fa- share-square-o" aria-hidden="true"></i>' +
366+ this . buildSpriteIcon ( ' share' ) +
367367 '</button> ' ;
368368
369369 this . parseHtmlAndPrepend (
386386 // Copy source branch name button
387387 if ( this . preferences . enable_buttons_to_copy_source_and_target_branches_name ) {
388388 newInfoLineToInject += ' <button class="btn btn-secondary btn-md btn-default btn-transparent btn-clipboard has-tooltip gmrle-copy-branch-name" title="Copy branch name" data-branch-name-to-copy="source">' +
389- '<i class="fa fa-clipboard" aria-hidden="true"></i>' +
389+ this . buildSpriteIcon ( 'copy-to-clipboard' ) +
390390 '</button>' ;
391391 }
392392
393393 // Target branch name
394- newInfoLineToInject += ' <i class="fa fa- long-arrow-right" aria-hidden="true"></i> ' +
394+ newInfoLineToInject += ' ' + this . buildSpriteIcon ( ' long-arrow' ) + ' ' +
395395 '<span class="project-ref-path has-tooltip" title="Target branch">' +
396396 '<a class="ref-name" href="' + this . baseProjectUrl + '/-/commits/' + mergeRequest . target_branch + '">' + mergeRequest . target_branch + '</a>' +
397397 '</span>' ;
398398
399399 // Copy target branch name button
400400 if ( this . preferences . enable_buttons_to_copy_source_and_target_branches_name ) {
401401 newInfoLineToInject += ' <button class="btn btn-secondary btn-md btn-default btn-transparent btn-clipboard has-tooltip gmrle-copy-branch-name" title="Copy branch name" data-branch-name-to-copy="target">' +
402- '<i class="fa fa-clipboard" aria-hidden="true"></i>' +
402+ this . buildSpriteIcon ( 'copy-to-clipboard' ) +
403403 '</button>' ;
404404 }
405405
You can’t perform that action at this time.
0 commit comments