Jihan Kim 2013-04-04
update unauthorized error page
@d12f89ee09ca7daf124132f04f323a5df2e166db
app/views/layout.scala.html
--- app/views/layout.scala.html
+++ app/views/layout.scala.html
@@ -58,22 +58,7 @@
 	});
 </script>
 <!-- HIVE -->
-<!-- UserVoice JavaScript SDK (only needed once on a page) -->
-    <script>(function(){var uv=document.createElement('script');uv.type='text/javascript';uv.async=true;uv.src='//widget.uservoice.com/pHKWfqCMdpRfBQGdt9v55g.js';var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(uv,s)})()</script>
+@uservoice("196721")
 
-        <!-- A tab to launch the Classic Widget -->
-    <script>
-            UserVoice = window.UserVoice || [];
-            UserVoice.push(['showTab', 'classic_widget', {
-            mode: 'feedback',
-            primary_color: '#d4d4d4',
-            link_color: '#f36b22',
-            forum_id: 196721,
-            tab_label: 'Feedback',
-            tab_color: '#f36b22',
-            tab_position: 'middle-left',
-            tab_inverted: true
-            }]);
-    </script>
 </body>
 </html>
(No newline at end of file)
app/views/project/unauthorized.scala.html
--- app/views/project/unauthorized.scala.html
+++ app/views/project/unauthorized.scala.html
@@ -2,9 +2,10 @@
 
 @main("Permission Denied", project, utils.MenuType.NONE) {
 <div class="page">
-
-    @pageTitle(project,"Project Home")
-    <h1>@Messages("auth.unauthorized.title")</H1>
-    <p>@Messages("auth.unauthorized.waringMessage")</p>
+	<div class="error-wrap">
+			<i class="ico ico-err2"></i>
+			<p>@Messages("auth.unauthorized.waringMessage")</p>
+		</div>  
+    <div>
 </div>
 }
 
app/views/uservoice.scala.html (added)
+++ app/views/uservoice.scala.html
@@ -0,0 +1,21 @@
+@(forumId:String)
+
+<!-- UserVoice JavaScript SDK (only needed once on a page) -->
+<script type="text/javascript">
+	(function(){var uv=document.createElement('script');uv.type='text/javascript';uv.async=true;uv.src='//widget.uservoice.com/pHKWfqCMdpRfBQGdt9v55g.js';var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(uv,s)})();
+
+	// A tab to launch the Classic Widget
+	UserVoice = window.UserVoice || [];
+	UserVoice.push(['showTab', 'classic_widget', {
+		mode: 'feedback',
+		primary_color: '#d4d4d4',
+		link_color: '#f36b22',
+		forum_id: @forumId,
+		tab_label: 'Feedback',
+		tab_color: '#f36b22',
+		tab_position: 'middle-left',
+		tab_inverted: true
+	}]);
+</script>
+
+<!-- end of UserVoice -->(No newline at end of file)
conf/messages.ko
--- conf/messages.ko
+++ conf/messages.ko
@@ -7,7 +7,7 @@
 title.milestoneList = 마일스톤 리스트
 title.editMilestone = 마일스톤 수정
 title.milestoneManage = 마일스톤 관리
-title.projectHome = 프로젝트 홈
+title.projectHome = Overview
 title.newProject = 새 프로젝트 생성
 title.projectSetting = 프로젝트 설정
 title.memberList = 멤버 리스트
Add a comment
List