File tree Expand file tree Collapse file tree 1 file changed +20
-10
lines changed
src/webviews/apps/plus/home/components Expand file tree Collapse file tree 1 file changed +20
-10
lines changed Original file line number Diff line number Diff line change @@ -188,6 +188,11 @@ export const branchCardStyles = css`
188188 flex-grow: 1;
189189 }
190190
191+ span.branch-item__missing {
192+ color: var(--vscode-descriptionForeground);
193+ font-style: italic;
194+ }
195+
191196 .branch-item__missing {
192197 --button-foreground: inherit;
193198 }
@@ -918,16 +923,21 @@ export abstract class GlBranchCardBase extends GlElement {
918923 if ( ! issues . length ) {
919924 if ( ! this . expanded ) return nothing ;
920925
921- return html `< gl-button
922- class ="branch-item__missing "
923- appearance ="secondary "
924- full
925- href =${ this . createCommandLink < AssociateIssueWithBranchCommandArgs > ( 'gitlens.associateIssueWithBranch' , {
926- branch : this . branch . reference ,
927- source : 'home' ,
928- } ) }
929- > Associate an Issue</ gl-button
930- > ` ;
926+ return html `< div class ="branch-item__row " full >
927+ < span class ="branch-item__missing " full > Current work item</ span >
928+ < gl-tooltip hoist content ="Associate an issue ">
929+ < a
930+ href =${ this . createCommandLink < AssociateIssueWithBranchCommandArgs > (
931+ 'gitlens.associateIssueWithBranch' ,
932+ {
933+ branch : this . branch . reference ,
934+ source : 'home' ,
935+ } ,
936+ ) }
937+ > < span class ="branch-item__icon "> < issue-icon > </ issue-icon > </ span
938+ > </ a >
939+ </ gl-tooltip >
940+ </ div > ` ;
931941 }
932942
933943 const indicator : GlCard [ 'indicator' ] = this . branch . opened ? 'base' : undefined ;
You can’t perform that action at this time.
0 commit comments