Skip to content

Commit

Permalink
feat(core/pipeline): Rename "Source" link to "View as JSON" (#8658)
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherthielen committed Oct 15, 2020
1 parent d7e357e commit 97bd615
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ export class Execution extends React.PureComponent<IExecutionProps, IExecutionSt
<div className="text-center">
No stages found.{' '}
<a onClick={this.handleSourceNoStagesClick} target="_blank" href={pipelinesUrl + execution.id}>
Source
View as JSON
</a>
</div>
)}
Expand Down Expand Up @@ -458,7 +458,7 @@ export class Execution extends React.PureComponent<IExecutionProps, IExecutionSt
<div className="permalinks">
<div className="permalinks-content">
<a onClick={this.handleSourceClick} target="_blank" href={pipelinesUrl + execution.id}>
Source
View as JSON
</a>
{' | '}
<ExecutionPermalink standalone={standalone} />
Expand Down
2 changes: 1 addition & 1 deletion app/scripts/modules/core/src/task/tasks.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ <h4>We couldn't find any tasks matching the filters you've specified.</h4>
</tr>
<tr ng-if="tasks.isExpanded(task.id)" ng-repeat-end>
<td colspan="9" class="small text-right">
<a href="{{tasksUrl + task.id}}" target="_blank">Source</a> |
<a href="{{tasksUrl + task.id}}" target="_blank">View as JSON</a> |
<a target="_blank" ui-sref=".taskDetails({taskId: task.id})">Permalink</a>
<copy-to-clipboard
text="$state.href(viewState.nameFilter ? '.' : '.taskDetails', {taskId: task.id}, {absolute:true} )"
Expand Down

0 comments on commit 97bd615

Please sign in to comment.