mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-30 12:41:20 +00:00 
			
		
		
		
	do not show update user for revisions in status 0
This commit is contained in:
		
							parent
							
								
									d0cf90032f
								
							
						
					
					
						commit
						e2c3cbe3cf
					
				|  | @ -4,6 +4,9 @@ | |||
| - fix editing of document attachments | ||||
| - make receipt summary look like approval/review summary | ||||
| - merge changes up to 5.1.10 | ||||
| - do not show the updating user in a revision workflow if the status is 0 | ||||
|   this is misleading because the user starting the revision workflow is the one | ||||
|   first accessing the document | ||||
| 
 | ||||
| -------------------------------------------------------------------------------- | ||||
|                      Changes in version 6.0.6 | ||||
|  |  | |||
|  | @ -1430,8 +1430,11 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style { | |||
| 					print "<td>".$reqName."</td>\n"; | ||||
| 					print "<td><ul class=\"unstyled\"><li>".$r["date"]."</li>"; | ||||
| 					/* $updateUser is the user who has done the revision */ | ||||
| 					$updateUser = $dms->getUser($r["userID"]); | ||||
| 					print "<li>".(is_object($updateUser) ? htmlspecialchars($updateUser->getFullName()." (".$updateUser->getLogin().")") : "unknown user id '".$r["userID"]."'")."</li></ul></td>"; | ||||
| 					if($r['status'] != 0) { | ||||
| 						$updateUser = $dms->getUser($r["userID"]); | ||||
| 						print "<li>".(is_object($updateUser) ? htmlspecialchars($updateUser->getFullName()." (".$updateUser->getLogin().")") : "unknown user id '".$r["userID"]."'")."</li>"; | ||||
| 					} | ||||
| 					print "</ul></td>"; | ||||
| 					print "<td>".htmlspecialchars($r["comment"])."</td>\n"; | ||||
| 					print "<td>".getRevisionStatusText($r["status"])."</td>\n"; | ||||
| 					print "<td><ul class=\"unstyled\">"; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann