mirror of https://github.com/apache/archiva.git
[MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
move closing of the list item inside if condition git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@947906 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2d781734b6
commit
a6063601a8
|
@ -109,8 +109,8 @@ public class ProjectMetadataTag
|
||||||
addListItem( "organization.name=", projectMetadata.getOrganization().getName(), metadataEntries );
|
addListItem( "organization.name=", projectMetadata.getOrganization().getName(), metadataEntries );
|
||||||
addListItem( "organization.url=", projectMetadata.getOrganization().getUrl(), metadataEntries );
|
addListItem( "organization.url=", projectMetadata.getOrganization().getUrl(), metadataEntries );
|
||||||
endList( metadataEntries );
|
endList( metadataEntries );
|
||||||
|
endListItem( metadataEntries );
|
||||||
}
|
}
|
||||||
endListItem( metadataEntries );
|
|
||||||
|
|
||||||
if ( projectMetadata.getIssueManagement() != null )
|
if ( projectMetadata.getIssueManagement() != null )
|
||||||
{
|
{
|
||||||
|
@ -119,8 +119,8 @@ public class ProjectMetadataTag
|
||||||
addListItem( "issueManagement.system=", projectMetadata.getIssueManagement().getSystem(), metadataEntries );
|
addListItem( "issueManagement.system=", projectMetadata.getIssueManagement().getSystem(), metadataEntries );
|
||||||
addListItem( "issueManagement.url=", projectMetadata.getIssueManagement().getUrl(), metadataEntries );
|
addListItem( "issueManagement.url=", projectMetadata.getIssueManagement().getUrl(), metadataEntries );
|
||||||
endList( metadataEntries );
|
endList( metadataEntries );
|
||||||
|
endListItem( metadataEntries );
|
||||||
}
|
}
|
||||||
endListItem( metadataEntries );
|
|
||||||
|
|
||||||
if ( projectMetadata.getScm() != null )
|
if ( projectMetadata.getScm() != null )
|
||||||
{
|
{
|
||||||
|
@ -131,8 +131,8 @@ public class ProjectMetadataTag
|
||||||
addListItem( "scm.developer.connection=", projectMetadata.getScm().getDeveloperConnection(),
|
addListItem( "scm.developer.connection=", projectMetadata.getScm().getDeveloperConnection(),
|
||||||
metadataEntries );
|
metadataEntries );
|
||||||
endList( metadataEntries );
|
endList( metadataEntries );
|
||||||
|
endListItem( metadataEntries );
|
||||||
}
|
}
|
||||||
endListItem( metadataEntries );
|
|
||||||
|
|
||||||
if ( projectMetadata.getCiManagement() != null )
|
if ( projectMetadata.getCiManagement() != null )
|
||||||
{
|
{
|
||||||
|
@ -141,8 +141,8 @@ public class ProjectMetadataTag
|
||||||
addListItem( "ciManagement.system=", projectMetadata.getCiManagement().getSystem(), metadataEntries );
|
addListItem( "ciManagement.system=", projectMetadata.getCiManagement().getSystem(), metadataEntries );
|
||||||
addListItem( "ciManagement.url=", projectMetadata.getCiManagement().getUrl(), metadataEntries );
|
addListItem( "ciManagement.url=", projectMetadata.getCiManagement().getUrl(), metadataEntries );
|
||||||
endList( metadataEntries );
|
endList( metadataEntries );
|
||||||
|
endListItem( metadataEntries );
|
||||||
}
|
}
|
||||||
endListItem( metadataEntries );
|
|
||||||
|
|
||||||
if ( projectMetadata.getLicenses() != null && !projectMetadata.getLicenses().isEmpty() )
|
if ( projectMetadata.getLicenses() != null && !projectMetadata.getLicenses().isEmpty() )
|
||||||
{
|
{
|
||||||
|
@ -157,8 +157,8 @@ public class ProjectMetadataTag
|
||||||
ctr++;
|
ctr++;
|
||||||
}
|
}
|
||||||
endList( metadataEntries );
|
endList( metadataEntries );
|
||||||
|
endListItem( metadataEntries );
|
||||||
}
|
}
|
||||||
endListItem( metadataEntries );
|
|
||||||
|
|
||||||
if ( projectMetadata.getMailingLists() != null && !projectMetadata.getMailingLists().isEmpty() )
|
if ( projectMetadata.getMailingLists() != null && !projectMetadata.getMailingLists().isEmpty() )
|
||||||
{
|
{
|
||||||
|
@ -197,8 +197,8 @@ public class ProjectMetadataTag
|
||||||
ctr++;
|
ctr++;
|
||||||
}
|
}
|
||||||
endList( metadataEntries );
|
endList( metadataEntries );
|
||||||
|
endListItem( metadataEntries );
|
||||||
}
|
}
|
||||||
endListItem( metadataEntries );
|
|
||||||
|
|
||||||
if ( projectMetadata.getDependencies() != null && !projectMetadata.getDependencies().isEmpty() )
|
if ( projectMetadata.getDependencies() != null && !projectMetadata.getDependencies().isEmpty() )
|
||||||
{
|
{
|
||||||
|
@ -219,8 +219,8 @@ public class ProjectMetadataTag
|
||||||
ctr++;
|
ctr++;
|
||||||
}
|
}
|
||||||
endList( metadataEntries );
|
endList( metadataEntries );
|
||||||
|
endListItem( metadataEntries );
|
||||||
}
|
}
|
||||||
endListItem( metadataEntries );
|
|
||||||
|
|
||||||
endList( metadataEntries );
|
endList( metadataEntries );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue