Better info for Assets that require commit before adding children. Add link is always availiable now, an error message is displayed if you try to post a child to an uncommitted parent. Additionally a new method was added to AssetVersionion.pm to determine whether or not an asset has been committed.

This commit is contained in:
Frank Dillon 2008-09-16 20:08:15 +00:00
parent 0e80937c6b
commit 58f231c87b
9 changed files with 94 additions and 22 deletions

View file

@ -900,8 +900,10 @@ our $I18N = {
lastUpdated => 0,
context => 'Description of the asset property workflowIdCommit',
},
'asset not committed' => {
message => q{<h1>Error!</h1><p>You need to commit this calendar before you can create a new event</p>},
lastUpdated => 1166848379,
},
};
1;

View file

@ -1650,6 +1650,11 @@ the Collaboration Asset, the user will be notified.|,
message => q|Keywords|,
lastUpdated => 1170543345,
},
'asset not committed' => {
message => q{<h1>Error!</h1><p>You need to commit this collaboration system before you can create a new thread</p>},
lastUpdated => 1166848379,
},
};

View file

@ -489,6 +489,11 @@ listing of pages that are related to a specific keyword?| },
lastUpdated=> 0,
},
'asset not committed' => {
message => q{<h1>Error!</h1><p>You need to commit this wiki before you can create a new wiki entry</p>},
lastUpdated => 1166848379,
},
};
1;