MentaTutorials

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
16 soliveira 1
<%@ page contentType="text/html; charset=UTF-8"%>
2
<%@taglib prefix="mtw" uri="http://www.mentaframework.org/tags-mtw/"%>
3
 
4
<mtw:useI18N prefix="index" />
5
 
6
<mtw:requiresAuthentication />
7
 
8
<html>
9
	<head>
10
		<title>
11
			<mtw:i18n key="title" noPrefix="true" />
12
		</title>
13
	</head>
14
 
15
	<body>
16
		<h3>
17
			<mtw:i18n key="welcome" dynValues="sessionUser.username" />
18
			(<a href="<mtw:contextPath />/Logout.mtw"><mtw:i18n key="logout" /></a>)
19
		</h3>
20
 
21
		<mtw:outMessage>
22
			<h5>
23
				<mtw:out />
24
			</h5>
25
		</mtw:outMessage>
26
 
27
		<mtw:hasAuthorization groups="admin, master">
28
			<p>
29
				<a href="<mtw:contextPath />/User.edit.mtw">
30
					<mtw:i18n key="alter_profile" />
31
				</a>
32
			</p>
33
		</mtw:hasAuthorization>
34
 
35
		<mtw:hasAuthorization groups="admin, master" negate="true">
36
			<p>
37
				<i>
38
					<mtw:i18n key="only_admin_master" />
39
				</i>
40
			</p>
41
		</mtw:hasAuthorization>
42
 
43
	</body>
44
</html>
45