Changeset 1709116
- Timestamp:
- 08/06/2017 12:32:40 PM (9 years ago)
- Location:
- admin-notices-for-team/trunk
- Files:
-
- 4 edited
-
README.txt (modified) (2 diffs)
-
admin/css/ant_admin_notices_team-admin.css (modified) (2 diffs)
-
admin/js/ant_admin_notices_team-admin.js (modified) (1 diff)
-
includes/class-ant_admin_notices_team.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
admin-notices-for-team/trunk/README.txt
r1692758 r1709116 47 47 == Changelog == 48 48 49 = 1.0.2 = 50 51 * Fixed Languages folder 52 * Add feature: add setting for display notices only in dashboard and in its subpages (index.php) 53 * Update Authors meta box with name instead of nickname and update Notice Showing function 54 * Added custom capabilities and set specific capabilities for editors and authors 55 * Now showing all users in meta box Target Authors 56 * Add feature: add target Author groups with default groups based on roles 57 * Add feature: target more users in order to create custom groups 58 49 59 = 1.0.1 = 50 60 … … 66 76 == Upgrade Notice == 67 77 78 = 1.0.2 = 79 80 * Added features. Metabox with target author groups and possibility to show notices only in dashboard. Other code optimizations. 81 68 82 = 1.0.1 = 69 83 -
admin-notices-for-team/trunk/admin/css/ant_admin_notices_team-admin.css
r1692756 r1709116 268 268 269 269 270 .meta_hidden {270 .meta_hidden, #return_group, #add_group_alt, #target_label_alt, #target_groups_alt { 271 271 display: none; 272 } 273 .hidden { 274 display: none !important; 275 } 276 .author_tags_container { 277 display: flex; 278 flex-wrap: wrap; 279 } 280 .author_tags { 281 flex-grow: 1; 282 justify-content: space-between; 283 text-align: center; 284 background-color: royalblue; 285 color: whitesmoke; 286 padding: 2% 1%; 287 border: solid 1px white; 288 border-radius: 20px; 272 289 } 273 290 … … 306 323 -webkit-transition: all .65s cubic-bezier(.85, -0.18, .31, 1.26), opacity .65s; 307 324 -moz-transition: all .65s cubic-bezier(.85, -0.18, .31, 1.26), opacity .65s; 325 308 326 } 309 327 .ant-tip:hover::before, -
admin-notices-for-team/trunk/admin/js/ant_admin_notices_team-admin.js
r1692007 r1709116 61 61 62 62 $( '#add_group' ).on( 'click', function() { 63 $(".meta_hidden").fadeIn(500); 63 $(".meta_hidden").fadeIn(700); 64 $("#target_groups").fadeOut(500); 65 $("#return_group").fadeIn(700); 66 $( '#add_group' ).fadeOut(500); 67 }); 68 $( '#return_group' ).on( 'click', function() { 69 $(".meta_hidden").fadeOut(500); 70 $("#return_group").fadeOut(500); 71 $( '#add_group' ).fadeIn(700); 72 $("#target_groups").fadeIn(700); 73 }); 74 $( '#add_group_alt' ).on( 'click', function() { 75 $(".meta_hidden_alt").fadeIn(700); 76 $("#target_groups_alt").fadeOut(500); 77 $("#target_label").fadeOut(500); 78 $("#return_group_alt").fadeIn(700); 79 $( '#add_group_alt' ).fadeOut(500); 80 }); 81 $( '#return_group_alt' ).on( 'click', function() { 82 $(".meta_hidden_alt").fadeOut(500); 83 $("#return_group_alt").fadeOut(500); 84 $( '#add_group_alt' ).fadeIn(700); 85 $("#target_groups_alt").fadeIn(700); 86 $("#target_label_alt").fadeIn(700); 64 87 }); 65 88 -
admin-notices-for-team/trunk/includes/class-ant_admin_notices_team.php
r1692756 r1709116 165 165 //Action -> Force Notices to Private Status 166 166 $this->loader->add_action( 'transition_post_status', $plugin_admin, 'post_status_to_private', 10, 3 ); 167 //Action -> Register Custom Post Type 168 $this->loader->add_action( 'admin_init', $plugin_admin, 'add_users_caps' ); 169 170 //$this->loader->add_action( 'admin_init', $plugin_admin, 'get_users_by_role' ); 167 171 168 172 //Action -> Add and Save Meta Box
Note: See TracChangeset
for help on using the changeset viewer.