
templates.screens.View.vm Maven / Gradle / Ivy
$page.setTitle( "Continuum - Project View: ${item.name}" )
#if ( $data.user )
#set ( $c1user = $continuum.getUser( $data.user.userId ) )
#else
#set ( $c1user = $continuum.security.getGuestUser() )
#end
#if ( $continuum.security.isAuthorized( $c1user, "showProject" ) )
Info
#set ( $buildsLink = $link.setPage('ProjectBuilds.vm').addPathInfo('view', "ProjectBuilds").addPathInfo('id', $item.id) )
Builds
#set ( $workingCopy = $link.setPage('WorkingCopy.vm').addPathInfo('view', "WorkingCopy").addPathInfo('id', $item.id) )
Working Copy
#end
$i18n.getString( $form.view.titleKey )
$i18n.getString( "project.name.label" )
$item.name
$i18n.getString( "projectScmUrl.label" )
$item.scmUrl
$i18n.getString( "project.version.label" )
$item.version
$i18n.getString( "project.group.label" )
$item.projectGroup.name
#if ( $continuum.security.isAuthorized( $c1user, "editProject" ) )
#end
$i18n.getString( "project.buildDefinitions.label" )
Goals
Arguments
POM File
Profile
Schedule
From
#foreach ( $buildDefinition in $project.buildDefinitions )
$!buildDefinition.goals
$!buildDefinition.arguments
$!buildDefinition.buildFile
#if ( $buildDefinition.profile )
$buildDefinition.profile.name
#else
DEFAULT
#end
#if ( $buildDefinition.schedule )
$buildDefinition.schedule.name
#else
NONE
#end
Project
#if ( $continuum.security.isAuthorized( $c1user, "editBuildDefinition" ) )
#set ( $buildDefinitionLink = $link.setPage('BuildDefinition.vm').addPathInfo('view','BuildDefinition').addPathInfo('buildDefinitionId', $buildDefinition.id).addPathInfo('id', $item.id) )
Edit |
#end
#if ( $continuum.security.isAuthorized( $c1user, "deleteBuildDefinition" ) )
#set ( $deleteBuildDefinitionLink = $link.setPage('DeleteBuildDefinition.vm').addPathInfo('buildDefinitionId', $buildDefinition.id).addPathInfo('id', $item.id).addPathInfo('executorId', $item.executorId) )
Delete
#end
#end
#if ( $continuum.security.isAuthorized( $c1user, "addBuildDefinition" ) )
#end
#if ( $project.notifiers )
$i18n.getString( "project.notifiers.label" )
Type
Recipient
Events
From
#foreach ( $notifier in $project.notifiers )
#if ( $notifier.type == "irc" )
IRC
#elseif ( $notifier.type == "mail" )
Mail
#elseif ( $notifier.type == "msn" )
MSN
#elseif ( $notifier.type == "jabber" )
Jabber
#end
#if ( $notifier.type == "irc" )
$!{notifier.configuration.host}:$!{notifier.configuration.port}$!{notifier.configuration.channel}
#else
$!{notifier.configuration.address}
#end
#if ( !$notifier.isEnabled() )
(DISABLED)
#end
#if ( $notifier.sendOnSuccess )
Success
#end
#if ( $notifier.sendOnFailure )
Failures
#end
#if ( $notifier.sendOnError )
Error
#end
#if ( $notifier.sendOnWarning )
Warnings
#end
#if ( $notifier.isFromProject() )
Project
#else
User
#end
#if ( $notifier.isFromUser() )
#if ( $continuum.security.isAuthorized( $c1user, "editNotifier" ) )
#if ( $notifier.type == "irc" )
#set ( $editNotifierLink = $link.setPage('EditIrcNotifier.vm').addPathInfo('view','EditIrcNotifier').addPathInfo('notifierId', $notifier.id).addPathInfo('id', $item.id).addPathInfo('executorId', $item.executorId) )
Edit
#elseif ( $notifier.type == "mail" )
#set ( $editNotifierLink = $link.setPage('EditMailNotifier.vm').addPathInfo('view','EditMailNotifier').addPathInfo('notifierId', $notifier.id).addPathInfo('id', $item.id).addPathInfo('executorId', $item.executorId) )
Edit
#elseif ( $notifier.type == "msn" )
#set ( $editNotifierLink = $link.setPage('EditMsnNotifier.vm').addPathInfo('view','EditMsnNotifier').addPathInfo('notifierId', $notifier.id).addPathInfo('id', $item.id).addPathInfo('executorId', $item.executorId) )
Edit
#elseif ( $notifier.type == "jabber" )
#set ( $editNotifierLink = $link.setPage('EditJabberNotifier.vm').addPathInfo('view','EditJabberNotifier').addPathInfo('notifierId', $notifier.id).addPathInfo('id', $item.id).addPathInfo('executorId', $item.executorId) )
Edit
#end
#end
#if ( $continuum.security.isAuthorized( $c1user, "deleteNotifier" ) )
#set ( $deleteNotifierLink = $link.setPage('DeleteNotifier.vm').addPathInfo('notifierId', $notifier.id).addPathInfo('id', $item.id).addPathInfo('executorId', $item.executorId) )
| Delete
#end
#end
#end
#if ( $continuum.security.isAuthorized( $c1user, "addNotifier" ) )
#end
#end
#if ( $project.dependencies )
$i18n.getString( "project.dependencies.label" )
Name
#foreach ( $dependency in $project.dependencies )
$!{dependency.groupId}:$!{dependency.artifactId}:$!{dependency.version}
#end
#end
#if ( $project.developers )
$i18n.getString( "project.developers.label" )
Name
Email
#foreach ( $developer in $project.developers )
#if ( $developer.name ) $developer.name #else $!{developer.id}#end
$!{developer.email}
#end
#end
© 2015 - 2025 Weber Informatics LLC | Privacy Policy