You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					66 lines
				
				3.4 KiB
			
		
		
			
		
	
	
					66 lines
				
				3.4 KiB
			| 
								 
											1 year ago
										 
									 | 
							
								
							 | 
						||
| 
								 | 
							
								<div class="subheader" ng-if="model.process">
							 | 
						||
| 
								 | 
							
									<div class="fixed-container">
							 | 
						||
| 
								 | 
							
										<div class="btn-group pull-right">
							 | 
						||
| 
								 | 
							
											<button type="button" class="btn btn-default" ng-click="openEditor()" ng-if="model.process.latestVersion">
							 | 
						||
| 
								 | 
							
												<i class="glyphicon glyphicon-edit icon-and-label"></i> {{'PROCESS.ACTION.OPEN-IN-EDITOR' | translate}}
							 | 
						||
| 
								 | 
							
											</button>
							 | 
						||
| 
								 | 
							
											<button type="button" class="btn btn-default" ng-click="useAsNewVersion()" ng-if="!model.process.latestVersion">
							 | 
						||
| 
								 | 
							
												{{'PROCESS.ACTION.USE-AS-NEW-VERSION' | translate}}
							 | 
						||
| 
								 | 
							
											</button>
							 | 
						||
| 
								 | 
							
										</div>
							 | 
						||
| 
								 | 
							
										<div class="btn-group pull-right">
							 | 
						||
| 
								 | 
							
									        <a href="{{model.bpmn20DownloadUrl}}" class="btn btn-default" title="{{'PROCESS.ACTION.EXPORT_BPMN20' | translate}}">
							 | 
						||
| 
								 | 
							
									            <i class="glyphicon glyphicon-save"></i>
							 | 
						||
| 
								 | 
							
									        </a>
							 | 
						||
| 
								 | 
							
										</div>
							 | 
						||
| 
								 | 
							
										<div class="btn-group pull-right">
							 | 
						||
| 
								 | 
							
											<button type="button" class="btn btn-default" ng-click="editProcess()" ng-disabled="!model.process.latestVersion"
							 | 
						||
| 
								 | 
							
												title="{{'PROCESS.ACTION.EDIT' | translate}}">
							 | 
						||
| 
								 | 
							
												<i class="glyphicon glyphicon-pencil"></i>
							 | 
						||
| 
								 | 
							
											</button>
							 | 
						||
| 
								 | 
							
								            <button type="button" class="btn btn-default" ng-click="duplicateProcess()" ng-disabled="!model.process.latestVersion"
							 | 
						||
| 
								 | 
							
								                    title="{{'PROCESS.ACTION.DUPLICATE' | translate}}">
							 | 
						||
| 
								 | 
							
								                <i class="editor-icon editor-icon-copy"></i>
							 | 
						||
| 
								 | 
							
								            </button>
							 | 
						||
| 
								 | 
							
											<button type="button" class="btn btn-default" ng-click="deleteProcess()" title="{{'PROCESS.ACTION.DELETE' | translate}}"
							 | 
						||
| 
								 | 
							
												ng-disabled="!model.process.latestVersion">
							 | 
						||
| 
								 | 
							
												<i class="glyphicon glyphicon-trash"></i>
							 | 
						||
| 
								 | 
							
											</button>
							 | 
						||
| 
								 | 
							
										</div>		
							 | 
						||
| 
								 | 
							
										<div class="pull-right">
							 | 
						||
| 
								 | 
							
											<a ng-click="returnToList()" class="action">← {{'GENERAL.ACTION.RETURN-TO-LIST' | translate}}</a>
							 | 
						||
| 
								 | 
							
										</div>
							 | 
						||
| 
								 | 
							
										<h2><span class="version">v{{model.process.version}}</span>{{model.process.name}}</h2>
							 | 
						||
| 
								 | 
							
										<div class="clearfix">
							 | 
						||
| 
								 | 
							
											<div class="col-xs-4 details">
							 | 
						||
| 
								 | 
							
												<span><i class="glyphicon glyphicon-user"></i>{{'PROCESS.DETAILS.CREATED-BY' | translate:model.process}}</span> 
							 | 
						||
| 
								 | 
							
												<span><i class="glyphicon glyphicon-pencil"></i>{{'PROCESS.DETAILS.LAST-UPDATED-BY' | translate:model.process}}</span>
							 | 
						||
| 
								 | 
							
											</div>
							 | 
						||
| 
								 | 
							
											<div class="col-xs-8 details clearfix">
							 | 
						||
| 
								 | 
							
								                <div class="related btn-group">
							 | 
						||
| 
								 | 
							
								                    <button id="toggle-history" type="button" class="btn btn-subtle" ng-click="toggleHistory($event)"
							 | 
						||
| 
								 | 
							
								                        title="{{'PROCESS.ACTION.EDIT' | translate}}">
							 | 
						||
| 
								 | 
							
								                        {{'PROCESS.DETAILS.HISTORY-TITLE' | translate}} <span class="counter" ng-show="model.versions.data.length">{{model.versions.data.length}}</span>
							 | 
						||
| 
								 | 
							
								                    </button>
							 | 
						||
| 
								 | 
							
								                </div>
							 | 
						||
| 
								 | 
							
								                <a ng-show="model.stencil" ng-click="goToStencil()" class="pull-right action">{{model.stencil.name}}</a>
							 | 
						||
| 
								 | 
							
								                <p ng-if="model.process.description">
							 | 
						||
| 
								 | 
							
								                    {{model.process.description}}
							 | 
						||
| 
								 | 
							
								                </p>
							 | 
						||
| 
								 | 
							
								                <p ng-if="!model.process.description && model.process.latestVersion" class="hint">
							 | 
						||
| 
								 | 
							
								                    <a ng-click="editProcess()" class="subtle-select">
							 | 
						||
| 
								 | 
							
								                        {{'PROCESS.DETAILS.NO-DESCRIPTION' | translate}} <i class="glyphicon glyphicon-pencil"></i>
							 | 
						||
| 
								 | 
							
								                    </a>
							 | 
						||
| 
								 | 
							
								                </p>
							 | 
						||
| 
								 | 
							
								            </div>
							 | 
						||
| 
								 | 
							
										</div>
							 | 
						||
| 
								 | 
							
									</div>
							 | 
						||
| 
								 | 
							
								</div>
							 | 
						||
| 
								 | 
							
								<div class="content center-pane" ng-if="model.process" auto-height offset="40" >
							 | 
						||
| 
								 | 
							
								        
							 | 
						||
| 
								 | 
							
								    	<div class="model-preview-wrapper" ng-if="!model.process.modelType && model.process.modelType != 1">
							 | 
						||
| 
								 | 
							
								    	   <div id="bpmnModel"></div>
							 | 
						||
| 
								 | 
							
								    	</div>
							 | 
						||
| 
								 | 
							
								</div>
							 |