Changeset 2228
- Timestamp:
- 12/28/2015 12:38:09 PM (9 years ago)
- Location:
- sites/trunk/global.wordpress.org/public_html/wp-content/mu-plugins/roles
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/global.wordpress.org/public_html/wp-content/mu-plugins/roles/css/rosetta-roles-rtl.css
r1792 r2228 23 23 } 24 24 25 #projects-list label {25 #projects-list > li label { 26 26 margin: 0 !important; 27 27 } … … 56 56 } 57 57 58 #projects-list .sub-projects-wrapper label { 59 display: block; 60 margin-right: 24px !important; 61 padding-top: 3px; 62 padding-bottom: 3px; 63 } 64 65 .sub-projects-wrapper label > input { 66 margin-left: 4px; 67 margin-right: -24px; 68 } 69 58 70 .sub-projects-search { 59 71 width: 100%; … … 63 75 .sub-projects-list { 64 76 margin: 0 2px 0 0; 77 } 78 79 .project-checkbox .project-slug { 80 display: none; 81 color: #666; 82 font-size: 13px; 83 } 84 85 .sub-projects-wrapper .project-checkbox .project-slug { 86 display: inline; 65 87 } 66 88 -
sites/trunk/global.wordpress.org/public_html/wp-content/mu-plugins/roles/css/rosetta-roles.css
r1786 r2228 23 23 } 24 24 25 #projects-list label {25 #projects-list > li label { 26 26 margin: 0 !important; 27 27 } … … 56 56 } 57 57 58 #projects-list .sub-projects-wrapper label { 59 display: block; 60 margin-left: 24px !important; 61 padding-top: 3px; 62 padding-bottom: 3px; 63 } 64 65 .sub-projects-wrapper label > input { 66 margin-right: 4px; 67 margin-left: -24px; 68 } 69 58 70 .sub-projects-search { 59 71 width: 100%; … … 63 75 .sub-projects-list { 64 76 margin: 0 0 0 2px; 77 } 78 79 .project-checkbox .project-slug { 80 display: none; 81 color: #666; 82 font-size: 13px; 83 } 84 85 .sub-projects-wrapper .project-checkbox .project-slug { 86 display: inline; 65 87 } 66 88 -
sites/trunk/global.wordpress.org/public_html/wp-content/mu-plugins/roles/js/rosetta-roles.js
r2197 r2228 192 192 193 193 prepare: function() { 194 return _.pick( this.model.toJSON(), 'id', 'name', ' checked', 'checkedSubProjects' );194 return _.pick( this.model.toJSON(), 'id', 'name', 'slug', 'checked', 'checkedSubProjects' ); 195 195 }, 196 196 -
sites/trunk/global.wordpress.org/public_html/wp-content/mu-plugins/roles/rosetta-roles.php
r2197 r2228 194 194 public function enqueue_styles() { 195 195 $suffix = is_rtl() ? '-rtl' : ''; 196 wp_enqueue_style( 'rosetta-roles', plugins_url( "/css/rosetta-roles$suffix.css", __FILE__ ), array(), ' 2' );196 wp_enqueue_style( 'rosetta-roles', plugins_url( "/css/rosetta-roles$suffix.css", __FILE__ ), array(), '3' ); 197 197 } 198 198 … … 214 214 /> 215 215 {{data.name}} 216 <span class="project-slug">({{data.slug}})</span> 216 217 </label> 217 218 <# } else { #> 218 219 <label> 219 220 <input type="radio" class="input-radio" checked="checked" /> {{data.name}} 221 <span class="project-slug">({{data.slug}})</span> 220 222 </label> 221 223 <# } #> … … 772 774 $projects = array(); 773 775 foreach ( $_projects as $project ) { 776 $project->name = html_entity_decode( $project->name, ENT_QUOTES, 'UTF-8' ); 774 777 $projects[ $project->id ] = $project; 775 778 }
Note: See TracChangeset
for help on using the changeset viewer.