]> source.dussan.org Git - gitblit.git/commitdiff
Hide some repository page header elements on phones and tablets
authorJames Moger <james.moger@gitblit.com>
Wed, 3 Oct 2012 13:19:54 +0000 (09:19 -0400)
committerJames Moger <james.moger@gitblit.com>
Wed, 3 Oct 2012 13:19:54 +0000 (09:19 -0400)
src/com/gitblit/wicket/pages/RepositoryPage.html

index 4b53dbac251849067364b258d2ac422e083c0a32..3dff36afe5b49778a082ead0f978e0f0b19a3e6a 100644 (file)
@@ -44,7 +44,7 @@
                                <div class="row">\r
                                        <div class="controls">\r
                                                <span wicket:id="workingCopyIndicator"></span>\r
-                                               <span wicket:id="forksProhibitedIndicator"></span>\r
+                                               <span class="hidden-phone hidden-tablet" wicket:id="forksProhibitedIndicator"></span>\r
                                                <div class="hidden-phone btn-group pull-right">\r
                                                        <!-- future spot for other repo buttons -->\r
                                                        <a class="btn" wicket:id="myForkLink"><i class="icon-random"></i> <wicket:message key="gb.myFork"></wicket:message></a>\r
@@ -52,7 +52,7 @@
                                                </div>\r
                                        </div>\r
                                        <div class="span7">\r
-                                               <div><span class="project" wicket:id="projectTitle">[project title]</span>/<span class="repository" wicket:id="repositoryName">[repository name]</span> <span wicket:id="pageName">[page name]</span></div>\r
+                                               <div><span class="project" wicket:id="projectTitle">[project title]</span>/<span class="repository" wicket:id="repositoryName">[repository name]</span> <span class="hidden-phone"><span wicket:id="pageName">[page name]</span></span></div>\r
                                                <span wicket:id="originRepository">[origin repository]</span>\r
                                        </div>\r
                                </div>\r