Skip to content

Commit 39c9abd

Browse files
authored
Simplify Copy button example (jenkinsci#427)
1 parent d2bffb2 commit 39c9abd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/main/resources/io/jenkins/plugins/designlibrary/Buttons/index.jelly

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ THE SOFTWARE.
8888
<s:section title="${%copy}" description="${%copy.description}">
8989
<s:group>
9090
<s:preview>
91-
<l:copyButton message="text copied" text="A shoulder of lemon fields" tooltip="Click to copy" />
91+
<l:copyButton text="A shoulder of lemon fields" />
9292
</s:preview>
9393
<s:code file="copyButton.jelly" />
9494
</s:group>

src/main/resources/lib/samples/code.jelly

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<l:icon src="symbol-open-outline plugin-ionicons-api" />
3434
</a>
3535
</j:if>
36-
<l:copyButton text="${code}" message="${%Copied}" tooltip="${%Copy code block}" clazz="jenkins-button--tertiary" />
36+
<l:copyButton text="${code}" clazz="jenkins-button--tertiary" />
3737
</div>
3838
</div>
3939
</div>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<l:copyButton message="text copied" text="A shoulder of lemon fields" tooltip="Click to copy" />
1+
<l:copyButton text="A shoulder of lemon fields" />

0 commit comments

Comments
 (0)