채수원 2015-02-14
Merge branch 'issue-2135' of dlab/hive
from pull-request 1484

* refs/heads/issue-2135:
  code: Removed unnecessary indentation

Reviewed-by: 채수원 
@5377056a27088f6d3d0785babf108e0379304b06
app/views/code/nohead.scala.html
--- app/views/code/nohead.scala.html
+++ app/views/code/nohead.scala.html
@@ -46,26 +46,26 @@
     @if(isAllowed(UserApp.currentUser(), project.asResource(), Operation.UPDATE)) {
                 <h5>@Messages("code.nohead.clone", utils.Config.getSiteName)</h5>
     			<pre><code>git clone @getCodeURL(project)
-    cd @project.name/
-    echo "# @project.name" > README.md
-    git add README.md
-    git commit -m "Hello @utils.Config.getSiteName"
-    git push origin master</code></pre>
+cd @project.name/
+echo "# @project.name" > README.md
+git add README.md
+git commit -m "Hello @utils.Config.getSiteName"
+git push origin master</code></pre>
                 <h5>@Messages("code.nohead.init", utils.Config.getSiteName)</h5>
                 <pre><code>mkdir @project.name
-    cd @project.name/
-    echo "# @project.name" > README.md
-    git init
-    git add README.md
-    git commit -m "Hello @utils.Config.getSiteName"
-    git remote add origin @getCodeURL(project)
-    git push origin master</code></pre>
+cd @project.name/
+echo "# @project.name" > README.md
+git init
+git add README.md
+git commit -m "Hello @utils.Config.getSiteName"
+git remote add origin @getCodeURL(project)
+git push origin master</code></pre>
                 <h5>@Messages("code.nohead.remote", utils.Config.getSiteName)</h5>
                 <pre><code>git remote add origin @getCodeURL(project)
-    git push origin master</code></pre>
+git push origin master</code></pre>
                 <h5>@Messages("code.nohead.pull.push")</h5>
                 <pre><code>git pull origin master
-    git push origin master</code></pre>
+git push origin master</code></pre>
     }
     		</div>
         </div>
app/views/code/nohead_svn.scala.html
--- app/views/code/nohead_svn.scala.html
+++ app/views/code/nohead_svn.scala.html
@@ -33,10 +33,10 @@
                 @if(isAllowed(UserApp.currentUser(), project.asResource(), Operation.UPDATE)) {
                 <h5>@Messages("code.nohead.svn.clone", utils.Config.getSiteName)</h5>
                 <pre><code>svn co @CodeApp.getURL(project) --username @UserApp.currentUser().loginId
-    cd @project.name/
-    echo "# @project.name" > README.md
-    svn add README.md
-    svn commit -m "first commit"</code></pre>
+cd @project.name/
+echo "# @project.name" > README.md
+svn add README.md
+svn commit -m "first commit"</code></pre>
     }
             </div>
         </div>
Add a comment
List