Jihan Kim 2013-05-09
change view filename, adjust project logo size
change view filename(HIVE-211), adjust project logo size(HIVE-213)
remove unused files, fix filter markup on milestone list
@3270a8c056956adcb0da3e01cae2663798b4c0c0
app/assets/stylesheets/less/_mixins.less
--- app/assets/stylesheets/less/_mixins.less
+++ app/assets/stylesheets/less/_mixins.less
@@ -96,7 +96,7 @@
   -webkit-background-size: @param;
   -moz-background-size: @param;
   -o-background-size: @param;
-  background-size: @param;    
+  background-size: @param;
 }
 
 // Text overflow
@@ -154,4 +154,4 @@
     font-family: "HelveticaNeueLight", "HelveticaNeue-Light", "Helvetica Neue Light", "HelveticaNeue", "Helvetica Neue", "Helvetica";
     font-weight:200;
     font-stretch:normal;
-}
+}
(파일 끝에 줄바꿈 문자 없음)
app/views/project/delete.scala.html
--- app/views/project/delete.scala.html
+++ app/views/project/delete.scala.html
@@ -44,4 +44,4 @@
         $hive.loadModule("project.Delete");
 	});
 </script>
-}
+}
(파일 끝에 줄바꿈 문자 없음)
app/views/project/list.scala.html
--- app/views/project/list.scala.html
+++ app/views/project/list.scala.html
@@ -3,7 +3,7 @@
 
 @home(message, utils.MenuType.PROJECTS) {
 <div class="page">
-  
+
 	<div class="header-wrap">
 		<div class="stats-wrap">
 			@for(state <- Array("all", "public", "private")) {
@@ -17,25 +17,25 @@
 			<div id="search" class="inner">
 				<form action="@routes.ProjectApp.projects()" method="get">
 					<input name="state" type="hidden" value="@listState">
-					<input name="filter" class="text" type="text" placeholder="@Messages("site.project.filter")" value="@filter"><!-- 
-				 --><button type="submit" class="btn search-btn">@Messages("issue.search")</button><!-- 
+					<input name="filter" class="text" type="text" placeholder="@Messages("site.project.filter")" value="@filter"><!--
+				 --><button type="submit" class="btn search-btn">@Messages("issue.search")</button><!--
 					<a href="#" class=tn-advanced"><i class="ico"></i>Advanced Search</a> -->
-                     
+
 					<div class="srch-advanced">
-	                 	<!-- TODO: fill this form -->
+				<!-- TODO: fill this form -->
 					</div>
 				</form>
              </div>
          </div>
 	</div>
-      
+
 	<ul class="all-projects">
       @for(project <- currentPage.getList) {
           <li class="project">
               <div class="info-wrap">
                   <div class="header">
                       <a href="@routes.UserApp.userInfo(project.owner)">@project.owner</a> / <a href="@routes.ProjectApp.project(project.owner, project.name)" class="project-name">@project.name</a>
-            		  @if(!project.share_option){ <i class="ico ico-lock"></i> }
+			  @if(!project.share_option){ <i class="ico ico-lock"></i> }
                       @for(tag <- project.tags) {
                       <span class="label label-info">@tag.name</span>
                       }
@@ -49,7 +49,7 @@
                   <div class="like">
                       <i class="ico ico-like"></i><span class="num">1</span>
                   </div>
-                  <i class="ico ico-activity low"></i><!-- 
+                  <i class="ico ico-activity low"></i><!--
                --><a href="@routes.UserApp.userInfo(project.owner)" class="avatar-wrap img-rounded">
 						<img src="@project.getOwnerByName(project.owner).avatarUrl" width="32" height="32">
 				  </a>
@@ -57,7 +57,7 @@
           </li>
 	  }
 	</ul>
-	
+
 	<!-- pagination.js will fill here. -->
 	<div id="pagination"></div>
 </div>
app/views/project/members.scala.html
--- app/views/project/members.scala.html
+++ app/views/project/members.scala.html
@@ -91,4 +91,4 @@
    	});
 </script>
 
-}
+}
(파일 끝에 줄바꿈 문자 없음)
app/views/project/overview.scala.html
--- app/views/project/overview.scala.html
+++ app/views/project/overview.scala.html
@@ -3,7 +3,6 @@
 @import utils.JodaDateUtil._
 @import utils.TemplateHelper._
 @import models.enumeration._
-@import utils.AccessControl._
 
 @projectLogoImage = @{
 	defining(Attachment.findByContainer(project.asResource)) { files =>
@@ -38,16 +37,16 @@
 
     <div class="input-prepend project-hometop-wrap">
     	<div class="vcs-wrap pull-left">
-    		<span class="clone-label"><strong class="@project.vcs">@project.vcs</strong></span><!--
+    		<span class="clone-label"><strong class="@project.vcs">@project.vcs</strong></span><!-- 
     	 --><input id="repositoryURL" type="text" class="text repo-url" readonly="readonly" value="@CodeApp.getURL(project.owner, project.name)">
         </div>
         <div class="issue-wrap btn-group pull-right">
             <button class="btn" disabled="true">@Messages("menu.issue")</button>
             <a href="@routes.IssueApp.issues(project.owner, project.name, State.OPEN.state)" class="btn">
-                @Messages("issue.state.open") <strong class="num open">@Issue.countIssues(project.id, State.OPEN)</strong>
+                @Messages("issue.state.open") <strong class="num open">@Issue.countIssues(project.id, State.OPEN)</strong> 
             </a>
             <a href="@routes.IssueApp.issues(project.owner, project.name, State.CLOSED.state)" class="btn">
-                @Messages("issue.state.closed") <strong class="num">@Issue.countIssues(project.id, State.CLOSED)</strong>
+                @Messages("issue.state.closed") <strong class="num">@Issue.countIssues(project.id, State.CLOSED)</strong> 
             </a>
         </div>
     </div>
@@ -99,12 +98,11 @@
 					<a href="@userPageUrlOnHistory(history)" class="avatar-wrap pull-left" style="margin-right:15px;">
 						<img src="@userAvatarUrlOnHistory(history)" width="32" height="32">
 					</a>
-
 					<div class="activity-desc">
 						<p class="header-text" style="margin-bottom:5px;">
 							@Html(Messages("project.history.item",
 								makeHistoryWho(history),
-								makeHistoryWhat(history), 
+								makeHistoryWhat(history),
 								makeHistoryHow(history)
 							))
 						</p>
@@ -118,7 +116,7 @@
 		</div>
 	</div>
 	}
-	
+
     <div class="bubble-wrap dark-gray readme">
         @if(project.readme == null) {
             <p class="default">
@@ -138,11 +136,7 @@
 
 <script type="text/javascript">
 $(document).ready(function(){
-    $hive.loadModule("project.Home", {
-        "sURLProjectTags": "@routes.ProjectApp.tags(project.owner, project.name)",
-        "sURLTags"       : "@routes.TagApp.tags()",
-        "nProjectId"     : @project.id
-    });
+	$hive.loadModule("project.Home");
 });
 </script>
-}
+}
(파일 끝에 줄바꿈 문자 없음)
Add a comment
List