Skip to content

Commit

Permalink
Merge 04a75de into eb605a5
Browse files Browse the repository at this point in the history
  • Loading branch information
GoWind committed May 14, 2020
2 parents eb605a5 + 04a75de commit 61e50e0
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,14 @@ export default function ApplicationDetail({applicationId, application, editable,
</a>
</td>
</tr>
<tr>
<th>Support</th>
<td>
<a href={application.support_url}>
{application.support_url}
</a>
</td>
</tr>
<tr>
<th>Specification Type</th>
<td>
Expand Down
6 changes: 6 additions & 0 deletions client/lib/application/src/application-detail/placeholder.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ const ApplicationDetailPlaceholder = (props) => {
verlongissues
</td>
</tr>
<tr>
<th>Support</th>
<td className='u-placeholder-text'>
verlongissues
</td>
</tr>
<tr>
<th>Specification Type</th>
<td className='u-placeholder-text'>
Expand Down
13 changes: 13 additions & 0 deletions client/lib/application/src/application-form/application-form.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,19 @@ class ApplicationForm extends React.Component {
name='yourturn_app_scm_url'
type='url' />
</div>
<div className='form-group'>
<label htmlFor='support_url'>Support</label>
<small>Where you can file for support issues or feature requests. Must be a HTTPS URL</small>
<input
placeholder='https://github.com/zalando-stups/pierone/issues'
id='support_url'
value={app.support_url}
pattern='^https://.*'
title='Please provide an URL with HTTPS'
onChange={this.update.bind(this, 'support_url', 'value')}
name='yourturn_app_support_url'
type='url' />
</div>
<div className='form-group'>
<label htmlFor='documentation_url'>Documentation URL</label>
<small>Where your documentation is.
Expand Down

0 comments on commit 61e50e0

Please sign in to comment.