Skip to content

Commit 6097693

Browse files
Improve layout of help texts (#502)
The pattern is to have a main help line followed by more details. No <p> is used after the <div> as it would add non desired padding. Co-authored-by: Günter Grodotzki <gunter@grodotzki.com>
1 parent c415f87 commit 6097693

File tree

8 files changed

+26
-13
lines changed

8 files changed

+26
-13
lines changed

src/main/resources/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMNavigator/help-repoOwner.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div>
2-
<p>Specify the name of the <strong>Bitbucket Team</strong> or <strong>Bitbucket User Account</strong>.</p>
2+
Specify the name of the <strong>Bitbucket Team</strong> or <strong>Bitbucket User Account</strong>.
33
<p>
44
It could be a <strong>Bitbucket Project</strong> also, if using Bitbucket Server.
55
In this case (Bitbucket Server):
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<div>
2-
The server to connect to. The list of servers is configured in the <strong>Manage Jenkins » Configure
3-
Jenkins › Bitbucket Endpoints</strong> screen. The list of servers can include both Bitbucket Cloud and
4-
Bitbucket Server instances.
2+
The server to connect to.
3+
<p>
4+
The list of servers is configured in the <strong>Manage Jenkins » Configure Jenkins › Bitbucket Endpoints</strong> screen.
5+
The list of servers can include both Bitbucket Cloud and Bitbucket Server instances.
6+
</p>
57
</div>

src/main/resources/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMSource/help-repoOwner.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div>
2-
<p>Specify the name of the <strong>Bitbucket Team</strong> or <strong>Bitbucket User Account</strong>.</p>
2+
Specify the name of the <strong>Bitbucket Team</strong> or <strong>Bitbucket User Account</strong>.
33
<p>
44
It could be a <strong>Bitbucket Project</strong> also, if using Bitbucket Server.
55
In this case (Bitbucket Server):
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<div>
2-
The server to connect to. The list of servers is configured in the <strong>Manage Jenkins » Configure
3-
Jenkins › Bitbucket Endpoints</strong> screen. The list of servers can include both Bitbucket Cloud and
4-
Bitbucket Server instances.
2+
The server to connect to.
3+
<p>
4+
The list of servers is configured in the <strong>Manage Jenkins » Configure Jenkins › Bitbucket Endpoints</strong> screen.
5+
The list of servers can include both Bitbucket Cloud and Bitbucket Server instances.
6+
</p>
57
</div>

src/main/resources/com/cloudbees/jenkins/plugins/bitbucket/ForkPullRequestDiscoveryTrait/help-strategyId.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div>
2-
Determines how pull requests are discovered:
2+
Determines how pull requests are discovered.
33
<dl>
44
<dt>Merging the pull request with the current target branch revision</dt>
55
<dd>Discover each pull request once with the discovered revision corresponding to the result of merging with the

src/main/resources/com/cloudbees/jenkins/plugins/bitbucket/OriginPullRequestDiscoveryTrait/help-strategyId.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div>
2-
Determines how pull requests are discovered:
2+
Determines how pull requests are discovered.
33
<dl>
44
<dt>Merging the pull request with the current target branch revision</dt>
55
<dd>Discover each pull request once with the discovered revision corresponding to the result of merging with the
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
<div>
2-
Credentials used to check out sources. Must be a SSH key based credential.
2+
Credentials used to check out sources.
3+
<p>
4+
It must be a SSH key based credential.
5+
</p>
36
</div>
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
<div>
2-
The URL of this Bitbucket Server, examples include: <code>http://internal.example.com:7990/bitbucket</code>
3-
and <code>https://bitbucket.example.com</code>
2+
The URL of this Bitbucket server.
3+
<p>
4+
Examples:
5+
<ul>
6+
<li><code>http://internal.example.com:7990/bitbucket</code></li>
7+
<li><code>https://bitbucket.example.com</code></li>
8+
</ul>
9+
</p>
410
</div>

0 commit comments

Comments
 (0)