Github user mjsax commented on a diff in the pull request: https://github.com/apache/flink/pull/750#discussion_r45635078 --- Diff: flink-runtime-web/web-dashboard/app/partials/jobs/job.jade --- @@ -43,6 +43,10 @@ nav.navbar.navbar-default.navbar-fixed-top.navbar-main(ng-if="job") span.navbar-info-button.btn.btn-default(ng-click="cancelJob($event)") | Cancel + .navbar-info.last.first(ng-if!="job.type=='STREAMING' && (job.state=='RUNNING' || job.state=='CREATED')") --- End diff -- The syntax is quite odd, but it is correct (I figures this out on the Internet). It is necessary to protect `&&` from being changed to HTML `&&` during compilation. I also tested it: STOP button is only displayed for streaming jobs and if I click it the stop shuts down gracefully.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---