From 53fb3fd724aa6072469dbd2e5c8947f67ad7d81b Mon Sep 17 00:00:00 2001 From: jhadvig Date: Wed, 4 May 2016 14:36:20 +0200 Subject: [PATCH] BZ 1332876 - Break long Git source URL --- assets/app/views/browse/_build-details.html | 2 +- assets/app/views/browse/build-config.html | 4 ++-- assets/app/views/builds.html | 4 ++-- assets/app/views/create/next-steps.html | 4 ++-- pkg/assets/bindata.go | 14 +++++++------- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/assets/app/views/browse/_build-details.html b/assets/app/views/browse/_build-details.html index a0c1d78998f4..b09c3cf6aa72 100644 --- a/assets/app/views/browse/_build-details.html +++ b/assets/app/views/browse/_build-details.html @@ -44,7 +44,7 @@

Configuration created from Source type:
{{build.spec.source.type}}
Source repo:
-
+
Source ref:
{{build.spec.source.git.ref}}
Source context dir:
diff --git a/assets/app/views/browse/build-config.html b/assets/app/views/browse/build-config.html index 5943f8d8ee5a..c2d036ac607b 100644 --- a/assets/app/views/browse/build-config.html +++ b/assets/app/views/browse/build-config.html @@ -85,7 +85,7 @@

No builds.

Start a new build to create an image from source repository - + build configuration {{buildConfig.metadata.name}}. @@ -240,7 +240,7 @@

Configuration

Source repo:
-
+
Source ref:
{{buildConfig.spec.source.git.ref}}
Source context dir:
diff --git a/assets/app/views/builds.html b/assets/app/views/builds.html index 4a66417a9c1a..7247a20c99d9 100644 --- a/assets/app/views/builds.html +++ b/assets/app/views/builds.html @@ -47,7 +47,7 @@

Builds

{{buildConfigs[buildConfigName].spec.strategy.type | startCase}} none - + @@ -100,7 +100,7 @@

Builds

none - + diff --git a/assets/app/views/create/next-steps.html b/assets/app/views/create/next-steps.html index e50ab69f5866..deffae39a7f6 100644 --- a/assets/app/views/create/next-steps.html +++ b/assets/app/views/create/next-steps.html @@ -71,7 +71,7 @@

Command line tools

Making code changes

- You are set up to use the example git repository. If you would like to modify the source code, fork the {{createdBuildConfig.spec.source.git.uri | githubLink}} repository to an OpenShift-visible git account and edit the {{createdBuildConfig.metadata.name}} build config to point to your fork. + You are set up to use the example git repository. If you would like to modify the source code, fork the {{createdBuildConfig.spec.source.git.uri | githubLink}} repository to an OpenShift-visible git account and edit the {{createdBuildConfig.metadata.name}} build config to point to your fork. Note that this will start a new build.

@@ -82,7 +82,7 @@

Making code changes

You can configure the webhook in the forked repository's settings, using the following payload URL:

- You can now set up the webhook in the GitHub repository settings if you own it, in {{createdBuildConfig.spec.source.git.uri | githubLink}}/settings/hooks, using the following payload URL: + You can now set up the webhook in the GitHub repository settings if you own it, in {{createdBuildConfig.spec.source.git.uri | githubLink}}/settings/hooks, using the following payload URL:

{{createdBuildConfig.metadata.name | webhookURL : trigger.type : trigger.github.secret : projectName}}
diff --git a/pkg/assets/bindata.go b/pkg/assets/bindata.go index 72900c7fbc74..4a5342a1057f 100644 --- a/pkg/assets/bindata.go +++ b/pkg/assets/bindata.go @@ -10682,7 +10682,7 @@ var _scriptsTemplatesJs = []byte(`angular.module('openshiftConsoleTemplates', [] "
Source type:
\n" + "
{{build.spec.source.type}}
\n" + "
Source repo:
\n" + - "
\n" + + "
\n" + "
Source ref:
\n" + "
{{build.spec.source.git.ref}}
\n" + "
Source context dir:
\n" + @@ -10991,7 +10991,7 @@ var _scriptsTemplatesJs = []byte(`angular.module('openshiftConsoleTemplates', [] "Start a new build to create an image from\n" + "\n" + "source repository\n" + - "\n" + + "\n" + "\n" + "\n" + "build configuration {{buildConfig.metadata.name}}.\n" + @@ -11140,7 +11140,7 @@ var _scriptsTemplatesJs = []byte(`angular.module('openshiftConsoleTemplates', [] "
\n" + "
\n" + "
Source repo:
\n" + - "
\n" + + "
\n" + "
Source ref:
\n" + "
{{buildConfig.spec.source.git.ref}}
\n" + "
Source context dir:
\n" + @@ -12553,7 +12553,7 @@ var _scriptsTemplatesJs = []byte(`angular.module('openshiftConsoleTemplates', [] "{{buildConfigs[buildConfigName].spec.strategy.type | startCase}}\n" + "\n" + "none\n" + - "\n" + + "\n" + "\n" + "\n" + "\n" + @@ -12606,7 +12606,7 @@ var _scriptsTemplatesJs = []byte(`angular.module('openshiftConsoleTemplates', [] "\n" + "none\n" + "\n" + - "\n" + + "\n" + "\n" + "\n" + "\n" + @@ -13269,7 +13269,7 @@ var _scriptsTemplatesJs = []byte(`angular.module('openshiftConsoleTemplates', [] "
\n" + "

Making code changes

\n" + "

\n" + - "You are set up to use the example git repository. If you would like to modify the source code, fork the {{createdBuildConfig.spec.source.git.uri | githubLink}} repository to an OpenShift-visible git account and edit the {{createdBuildConfig.metadata.name}} build config to point to your fork.\n" + + "You are set up to use the example git repository. If you would like to modify the source code, fork the {{createdBuildConfig.spec.source.git.uri | githubLink}} repository to an OpenShift-visible git account and edit the {{createdBuildConfig.metadata.name}} build config to point to your fork.\n" + "Note that this will start a new build.\n" + "

\n" + "
\n" + @@ -13280,7 +13280,7 @@ var _scriptsTemplatesJs = []byte(`angular.module('openshiftConsoleTemplates', [] "You can configure the webhook in the forked repository's settings, using the following payload URL:\n" + "

\n" + "

\n" + - "You can now set up the webhook in the GitHub repository settings if you own it, in {{createdBuildConfig.spec.source.git.uri | githubLink}}/settings/hooks, using the following payload URL:\n" + + "You can now set up the webhook in the GitHub repository settings if you own it, in {{createdBuildConfig.spec.source.git.uri | githubLink}}/settings/hooks, using the following payload URL:\n" + "

\n" + "
{{createdBuildConfig.metadata.name | webhookURL : trigger.type : trigger.github.secret : projectName}}
\n" + "
\n" +