]> source.dussan.org Git - redmine.git/commitdiff
Merged r3898 from trunk
authorEric Davis <edavis@littlestreamsoftware.com>
Fri, 30 Jul 2010 19:20:52 +0000 (19:20 +0000)
committerEric Davis <edavis@littlestreamsoftware.com>
Fri, 30 Jul 2010 19:20:52 +0000 (19:20 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.0-stable@3901 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/issues/_changesets.rhtml
app/views/issues/_history.rhtml
public/stylesheets/application.css
public/themes/rtl/stylesheets/application.css [new file with mode: 0644]
public/themes/rtl/stylesheets/context_menu.css [new file with mode: 0644]

index 0b1f10b7289a38a4dab551b17962db972637ed18..52cd60ff57126e52f0c9ffe18f5769685b032d08 100644 (file)
@@ -3,6 +3,8 @@
     <p><%= link_to("#{l(:label_revision)} #{changeset.revision}",
                 :controller => 'repositories', :action => 'revision', :id => changeset.project, :rev => changeset.revision) %><br />
         <span class="author"><%= authoring(changeset.committed_on, changeset.author) %></span></p>
-    <%= textilizable(changeset, :comments) %>
+    <div class="changeset-changes">
+        <%= textilizable(changeset, :comments) %>
+    </div>
     </div>
 <% end %>
index 7459eb3527e6c44fc4142ac5395f151c8364dd89..a95cbf81c0fb79ac9507da41d477f2cc033d5a06 100644 (file)
@@ -1,7 +1,7 @@
 <% reply_links = authorize_for('issues', 'edit') -%>
 <% for journal in journals %>
   <div id="change-<%= journal.id %>" class="journal">
-    <h4><div style="float:right;"><%= link_to "##{journal.indice}", :anchor => "note-#{journal.indice}" %></div>
+    <h4><div class="journal-link"><%= link_to "##{journal.indice}", :anchor => "note-#{journal.indice}" %></div>
     <%= avatar(journal.user, :size => "24") %>
     <%= content_tag('a', '', :name => "note-#{journal.indice}")%>
                <%= authoring journal.created_on, journal.user, :label => :label_updated_time_by %></h4>
index b3dbfd7f2c6a7752b2079e58eecb8716b7ca3c41..59a2c3edddedd864dfa0d713925f56d130a4fb4b 100644 (file)
@@ -903,6 +903,10 @@ td.username img.gravatar {
        clear: left;
 }
 
+.journal-link {
+       float: right;
+}
+
 h2 img { vertical-align:middle; }
 
 .hascontextmenu { cursor: context-menu; }
diff --git a/public/themes/rtl/stylesheets/application.css b/public/themes/rtl/stylesheets/application.css
new file mode 100644 (file)
index 0000000..74f20b4
--- /dev/null
@@ -0,0 +1,50 @@
+@import url(../../alternate/stylesheets/application.css);
+
+body, #wrapper { direction: rtl;}
+
+#quick-search { float: left; }
+#main-menu { margin-left: -500px; left: auto; right: 6px; margin-right: 0px;}
+#main-menu li { float: right; }
+#top-menu ul { float: right; }
+#account { float: left; }
+#top-menu #loggedas { float: left; }
+#top-menu li { float: right; }
+.tabular label.floating
+{
+       margin-right: 0;
+       margin-left: auto;
+       text-align: right;
+}
+.tabular label 
+{
+       float: right;
+       margin-left: auto;
+}
+.tabular p { clear: right; }
+.tabular label.block { text-align: right; }
+
+.icon { background-position: 100% 40%; padding-right: 20px; padding-left: 0px; }
+div#activity dt, #search-results dt { background-position: 100% 50%; padding-right: 20px; padding-left: 0px; }
+#content .tabs ul li { float: right; }
+#content .tabs ul { padding-left: auto; padding-right: 1em; }
+table.progress { float: right; }
+.contextual { float: left; }
+.icon22 { background-position: 100% 40%; padding-right: 26px; padding-left: auto; }
+h3, .wiki h2 { padding: 10px 2px 1px 0; }
+.tooltip span.tip { text-align: right; }
+tr.issue td.subject { text-align: right; }
+tr.time-entry td.subject, tr.time-entry td.comments { text-align: right; }
+#sidebar { float: left; }
+#main.nosidebar #content { border-width: 1px; border-style: solid; border-color: #D7D7D7 #BBBBBB #BBBBBB #D7D7D7;}
+.tabular.settings label { margin-left: auto; }
+.splitcontentleft { float: right; }
+.splitcontentright { float: left; }
+p.progress-info { clear: right; }
+table.list td.buttons a { padding-right: 20px; }
+.filecontent { direction: ltr; }
+.entries { direction: ltr; }
+.changeset-changes { direction: ltr; padding-left: 2em }
+.changesets { direction: ltr; }
+div#issue-changesets { float: left; margin-right: 1em; margin-left: 0 }
+#activity dt, .journal { clear: right; }
+.journal-link { float: left; }
diff --git a/public/themes/rtl/stylesheets/context_menu.css b/public/themes/rtl/stylesheets/context_menu.css
new file mode 100644 (file)
index 0000000..c400d3e
--- /dev/null
@@ -0,0 +1,6 @@
+@import url(../../../stylesheets/context_menu.css);
+
+#context-menu li.folder ul { left:auto; right:168px; }
+#context-menu li.folder>ul { left:auto; right:148px; }
+
+#context-menu li a.submenu { background:url("../../../images/bullet_arrow_left.png") left no-repeat; }