changed the project bar to show the subtitle
This commit is contained in:
		| @ -24,10 +24,10 @@ function show_projectbar ($con, $banner, $page, $ctxmenuitems) | ||||
|  | ||||
| 		if ($project->name == '') | ||||
| 			print $project->id; | ||||
| 		else if (strcasecmp ($project->name, $project->id) == 0) | ||||
| 		//else if (strcasecmp ($project->name, $project->id) == 0) | ||||
| 			print htmlspecialchars($project->name); | ||||
| 		else | ||||
| 			print htmlspecialchars($project->name) . " ({$project->id})"; | ||||
| 		//else | ||||
| 		//	print htmlspecialchars($project->name) . " ({$project->id})"; | ||||
| 	} | ||||
| 	else if ($type == 'site') | ||||
| 	{ | ||||
| @ -43,6 +43,13 @@ function show_projectbar ($con, $banner, $page, $ctxmenuitems) | ||||
|  | ||||
| 	print "</div>"; | ||||
|  | ||||
| 	print "<div class='subtitle'>"; | ||||
| 	if ($type == 'project') | ||||
| 	{ | ||||
| 		print htmlspecialchars($project->summary); | ||||
| 	} | ||||
| 	print "</div>"; | ||||
|  | ||||
| 	print '<div class="ctxmenu">'; | ||||
| 	if ($ctxmenuitems !== NULL && count($ctxmenuitems) > 0) | ||||
| 	{ | ||||
|  | ||||
| @ -241,11 +241,18 @@ body { | ||||
| } | ||||
|  | ||||
| .content .projectbar .title { | ||||
| 	font-size: 2.2em; | ||||
| 	font-size: 2em; | ||||
| 	text-transform: uppercase; | ||||
| 	white-space: nowrap; | ||||
| } | ||||
|  | ||||
| .content .projectbar .subtitle { | ||||
| 	font-size: 1em; | ||||
| 	white-space: nowrap; | ||||
| 	padding-left: 0.1em; | ||||
| 	color: #1C94C4; | ||||
| } | ||||
|  | ||||
| .content .projectbar .ctxmenu { | ||||
| 	position: absolute; | ||||
| 	bottom: 0; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user