Skip to:
Content

BuddyPress.org

Changeset 8412


Ignore:
Timestamp:
05/10/2014 02:26:39 AM (5 years ago)
Author:
boonebgorges
Message:

Add a Permalink row and a Visit Group button to group administration screen

Fixes #5606

Props dcavins

Location:
trunk/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/admin/css/admin-rtl.css

    r8386 r8412  
    1515    font-size: 1.7em;
    1616    width: 100%;
     17    margin-bottom: 6px;
    1718}
    1819#bp-groups-edit-form input#bp-groups-new-members {
     
    2324.bp-groups-settings-section {
    2425    margin-bottom: 15px;
     26}
     27#bp-groups-permalink-box {
     28    line-height: 24px;
     29    color: #666;
    2530}
    2631.bp-groups-member-type {
  • trunk/src/bp-groups/admin/css/admin.css

    r8179 r8412  
    1515    font-size: 1.7em;
    1616    width: 100%;
     17    margin-bottom: 6px;
    1718}
    1819#bp-groups-edit-form input#bp-groups-new-members {
     
    2324.bp-groups-settings-section {
    2425    margin-bottom: 15px;
     26}
     27#bp-groups-permalink-box {
     28    line-height: 24px;
     29    color: #666;
    2530}
    2631.bp-groups-member-type {
  • trunk/src/bp-groups/bp-groups-admin.php

    r8234 r8412  
    519519                                    <div class="inside">
    520520                                        <input type="text" name="bp-groups-name" id="bp-groups-name" value="<?php echo esc_attr( stripslashes( $group_name ) ) ?>" />
     521                                        <div id="bp-groups-permalink-box">
     522                                            <strong><?php esc_html_e( 'Permalink:', 'buddypress' ) ?></strong> <span id="sample-permalink"><?php bp_group_permalink( $group ) ?></span> <a href="<?php echo bp_group_permalink( $group ) ?>" class="button button-small" id="bp-groups-visit-group"><?php esc_html_e( 'Visit Group', 'buddypress' ) ?></a>
     523                                        </div>
     524
    521525
    522526                                        <?php wp_editor( stripslashes( $group->description ), 'bp-groups-description', array( 'media_buttons' => false, 'teeny' => true, 'textarea_rows' => 5, 'quicktags' => array( 'buttons' => 'strong,em,link,block,del,ins,img,code,spell,close' ) ) ); ?>
  • trunk/src/bp-languages/buddypress.pot

    r8411 r8412  
    55"Project-Id-Version: BuddyPress 2.1-alpha\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/buddypress\n"
    7 "POT-Creation-Date: 2014-05-10 02:02:13+00:00\n"
     7"POT-Creation-Date: 2014-05-10 02:25:30+00:00\n"
    88"MIME-Version: 1.0\n"
    99"Content-Type: text/plain; charset=utf-8\n"
     
    326326
    327327#: bp-activity/bp-activity-admin.php:672 bp-activity/bp-activity-admin.php:1391
    328 #: bp-forums/bp-forums-template.php:2112 bp-groups/bp-groups-admin.php:1396
     328#: bp-forums/bp-forums-template.php:2112 bp-groups/bp-groups-admin.php:1400
    329329#: bp-themes/bp-default/functions.php:509 bp-xprofile/bp-xprofile-admin.php:402
    330330#: bp-xprofile/bp-xprofile-loader.php:195
     
    410410msgstr ""
    411411
    412 #: bp-activity/bp-activity-admin.php:910 bp-groups/bp-groups-admin.php:645
     412#: bp-activity/bp-activity-admin.php:910 bp-groups/bp-groups-admin.php:649
    413413#: bp-members/bp-members-admin.php:1304
    414414msgid "Search results for &#8220;%s&#8221;"
     
    423423msgstr ""
    424424
    425 #: bp-activity/bp-activity-admin.php:938 bp-groups/bp-groups-admin.php:599
     425#: bp-activity/bp-activity-admin.php:938 bp-groups/bp-groups-admin.php:603
    426426#: bp-members/bp-members-admin.php:1429
    427427#: bp-templates/bp-legacy/buddypress/activity/entry.php:102
     
    445445msgstr ""
    446446
    447 #: bp-activity/bp-activity-admin.php:1205 bp-groups/bp-groups-admin.php:1267
     447#: bp-activity/bp-activity-admin.php:1205 bp-groups/bp-groups-admin.php:1271
    448448#: bp-messages/bp-messages-template.php:538
    449449msgid "All"
     
    466466
    467467#: bp-activity/bp-activity-admin.php:1224
    468 #: bp-activity/bp-activity-admin.php:1401 bp-groups/bp-groups-admin.php:598
     468#: bp-activity/bp-activity-admin.php:1401 bp-groups/bp-groups-admin.php:602
    469469msgid "Delete Permanently"
    470470msgstr ""
     
    652652#: bp-activity/bp-activity-loader.php:313 bp-core/bp-core-template.php:389
    653653#: bp-groups/bp-groups-admin.php:32 bp-groups/bp-groups-admin.php:33
    654 #: bp-groups/bp-groups-admin.php:638 bp-groups/bp-groups-loader.php:365
     654#: bp-groups/bp-groups-admin.php:642 bp-groups/bp-groups-loader.php:365
    655655#: bp-groups/bp-groups-loader.php:540 bp-groups/bp-groups-notifications.php:377
    656656#: bp-groups/bp-groups-notifications.php:413
     
    822822msgstr ""
    823823
    824 #: bp-activity/bp-activity-template.php:1338 bp-groups/bp-groups-admin.php:1410
     824#: bp-activity/bp-activity-template.php:1338 bp-groups/bp-groups-admin.php:1414
    825825#: bp-groups/bp-groups-template.php:539
    826826msgid "Group logo of %s"
     
    836836
    837837#: bp-activity/bp-activity-template.php:2481
    838 #: bp-forums/bp-forums-template.php:2113 bp-groups/bp-groups-admin.php:1286
    839 #: bp-groups/bp-groups-admin.php:1399 bp-groups/bp-groups-template.php:1551
     838#: bp-forums/bp-forums-template.php:2113 bp-groups/bp-groups-admin.php:1290
     839#: bp-groups/bp-groups-admin.php:1403 bp-groups/bp-groups-template.php:1551
    840840#: bp-members/admin/bp-members-classes.php:148
    841841#: bp-members/admin/bp-members-classes.php:280
     
    17661766
    17671767#: bp-core/bp-core-admin.php:524 bp-core/bp-core-template.php:386
    1768 #: bp-core/bp-core-widgets.php:276 bp-groups/bp-groups-admin.php:781
     1768#: bp-core/bp-core-widgets.php:276 bp-groups/bp-groups-admin.php:785
    17691769#: bp-groups/bp-groups-template.php:1541 bp-members/bp-members-loader.php:22
    17701770#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:231
     
    20292029msgstr ""
    20302030
    2031 #: bp-core/bp-core-buddybar.php:645 bp-groups/bp-groups-admin.php:1393
     2031#: bp-core/bp-core-buddybar.php:645 bp-groups/bp-groups-admin.php:1397
    20322032msgid "Visit"
    20332033msgstr ""
     
    31393139msgstr ""
    31403140
    3141 #: bp-groups/bp-groups-admin.php:499 bp-groups/bp-groups-admin.php:641
     3141#: bp-groups/bp-groups-admin.php:499 bp-groups/bp-groups-admin.php:645
    31423142msgid "Add New"
    31433143msgstr ""
     
    31473147msgstr ""
    31483148
    3149 #: bp-groups/bp-groups-admin.php:545
     3149#: bp-groups/bp-groups-admin.php:522
     3150msgid "Permalink:"
     3151msgstr ""
     3152
     3153#: bp-groups/bp-groups-admin.php:522
     3154msgid "Visit Group"
     3155msgstr ""
     3156
     3157#: bp-groups/bp-groups-admin.php:549
    31503158msgid "No group found with this ID. <a href=\"%s\">Go back and try again</a>."
    31513159msgstr ""
    31523160
    3153 #: bp-groups/bp-groups-admin.php:587
     3161#: bp-groups/bp-groups-admin.php:591
    31543162msgid "Delete Groups"
    31553163msgstr ""
    31563164
    3157 #: bp-groups/bp-groups-admin.php:588
     3165#: bp-groups/bp-groups-admin.php:592
    31583166msgid "You are about to delete the following groups:"
    31593167msgstr ""
    31603168
    3161 #: bp-groups/bp-groups-admin.php:596 bp-members/bp-members-admin.php:1425
     3169#: bp-groups/bp-groups-admin.php:600 bp-members/bp-members-admin.php:1425
    31623170msgid "This action cannot be undone."
    31633171msgstr ""
    31643172
    3165 #: bp-groups/bp-groups-admin.php:625
     3173#: bp-groups/bp-groups-admin.php:629
    31663174msgid "%s group has been permanently deleted."
    31673175msgid_plural "%s groups have been permanently deleted."
     
    31693177msgstr[1] ""
    31703178
    3171 #: bp-groups/bp-groups-admin.php:658
     3179#: bp-groups/bp-groups-admin.php:662
    31723180msgid "Search all Groups"
    31733181msgstr ""
    31743182
    3175 #: bp-groups/bp-groups-admin.php:681
     3183#: bp-groups/bp-groups-admin.php:685
    31763184#: bp-templates/bp-legacy/buddypress/groups/create.php:112
    31773185#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:47
     
    31813189msgstr ""
    31823190
    3183 #: bp-groups/bp-groups-admin.php:687
     3191#: bp-groups/bp-groups-admin.php:691
    31843192msgid "Privacy"
    31853193msgstr ""
    31863194
    3187 #: bp-groups/bp-groups-admin.php:690 bp-groups/bp-groups-admin.php:1447
     3195#: bp-groups/bp-groups-admin.php:694 bp-groups/bp-groups-admin.php:1451
    31883196#: bp-groups/bp-groups-template.php:684
    31893197msgid "Public"
    31903198msgstr ""
    31913199
    3192 #: bp-groups/bp-groups-admin.php:691 bp-groups/bp-groups-admin.php:1450
     3200#: bp-groups/bp-groups-admin.php:695 bp-groups/bp-groups-admin.php:1454
    31933201#: bp-groups/bp-groups-template.php:686
    31943202msgid "Private"
    31953203msgstr ""
    31963204
    3197 #: bp-groups/bp-groups-admin.php:692 bp-groups/bp-groups-admin.php:1453
     3205#: bp-groups/bp-groups-admin.php:696 bp-groups/bp-groups-admin.php:1457
    31983206msgid "Hidden"
    31993207msgstr ""
    32003208
    3201 #: bp-groups/bp-groups-admin.php:699
     3209#: bp-groups/bp-groups-admin.php:703
    32023210msgid "Who can invite others to this group?"
    32033211msgstr ""
    32043212
    3205 #: bp-groups/bp-groups-admin.php:702
     3213#: bp-groups/bp-groups-admin.php:706
    32063214#: bp-templates/bp-legacy/buddypress/groups/create.php:89
    32073215#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:99
     
    32113219msgstr ""
    32123220
    3213 #: bp-groups/bp-groups-admin.php:703
     3221#: bp-groups/bp-groups-admin.php:707
    32143222#: bp-templates/bp-legacy/buddypress/groups/create.php:94
    32153223#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:104
     
    32193227msgstr ""
    32203228
    3221 #: bp-groups/bp-groups-admin.php:704
     3229#: bp-groups/bp-groups-admin.php:708
    32223230#: bp-templates/bp-legacy/buddypress/groups/create.php:99
    32233231#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:109
     
    32273235msgstr ""
    32283236
    3229 #: bp-groups/bp-groups-admin.php:720
     3237#: bp-groups/bp-groups-admin.php:724
    32303238msgid "Enter a comma-separated list of user logins."
    32313239msgstr ""
    32323240
    3233 #: bp-groups/bp-groups-admin.php:779
     3241#: bp-groups/bp-groups-admin.php:783
    32343242#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:177
    32353243#: bp-themes/bp-default/groups/single/admin.php:177
     
    32373245msgstr ""
    32383246
    3239 #: bp-groups/bp-groups-admin.php:780
     3247#: bp-groups/bp-groups-admin.php:784
    32403248#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:205
    32413249#: bp-themes/bp-default/groups/single/admin.php:205
     
    32433251msgstr ""
    32443252
    3245 #: bp-groups/bp-groups-admin.php:782
     3253#: bp-groups/bp-groups-admin.php:786
    32463254msgid "Banned Users"
    32473255msgstr ""
    32483256
    3249 #: bp-groups/bp-groups-admin.php:819
     3257#: bp-groups/bp-groups-admin.php:823
    32503258msgid "Administrator"
    32513259msgstr ""
    32523260
    3253 #: bp-groups/bp-groups-admin.php:820
     3261#: bp-groups/bp-groups-admin.php:824
    32543262msgid "Moderator"
    32553263msgstr ""
    32563264
    3257 #: bp-groups/bp-groups-admin.php:821
     3265#: bp-groups/bp-groups-admin.php:825
    32583266msgid "Member"
    32593267msgstr ""
    32603268
    3261 #: bp-groups/bp-groups-admin.php:822
     3269#: bp-groups/bp-groups-admin.php:826
    32623270msgid "Banned"
    32633271msgstr ""
    32643272
    3265 #: bp-groups/bp-groups-admin.php:823
     3273#: bp-groups/bp-groups-admin.php:827
    32663274msgid "Remove From Group"
    32673275msgstr ""
    32683276
    3269 #: bp-groups/bp-groups-admin.php:856
     3277#: bp-groups/bp-groups-admin.php:860
    32703278msgid "No members of this type"
    32713279msgstr ""
    32723280
    3273 #: bp-groups/bp-groups-admin.php:882 bp-groups/bp-groups-adminbar.php:101
     3281#: bp-groups/bp-groups-admin.php:886 bp-groups/bp-groups-adminbar.php:101
    32743282#: bp-groups/bp-groups-buddybar.php:58
    32753283#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:332
     
    32793287msgstr ""
    32803288
    3281 #: bp-groups/bp-groups-admin.php:886 bp-groups/bp-groups-classes.php:3187
     3289#: bp-groups/bp-groups-admin.php:890 bp-groups/bp-groups-classes.php:3187
    32823290#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:32
    32833291#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:117
     
    32983306msgstr ""
    32993307
    3300 #: bp-groups/bp-groups-admin.php:935
     3308#: bp-groups/bp-groups-admin.php:939
    33013309msgid "&laquo;"
    33023310msgstr ""
    33033311
    3304 #: bp-groups/bp-groups-admin.php:936
     3312#: bp-groups/bp-groups-admin.php:940
    33053313msgid "&raquo;"
    33063314msgstr ""
    33073315
    3308 #: bp-groups/bp-groups-admin.php:942
     3316#: bp-groups/bp-groups-admin.php:946
    33093317msgid "Viewing %1$s - %2$s of %3$s"
    33103318msgstr ""
    33113319
    3312 #: bp-groups/bp-groups-admin.php:945 bp-groups/bp-groups-template.php:1025
     3320#: bp-groups/bp-groups-admin.php:949 bp-groups/bp-groups-template.php:1025
    33133321msgid "%s member"
    33143322msgid_plural "%s members"
     
    33163324msgstr[1] ""
    33173325
    3318 #: bp-groups/bp-groups-admin.php:1011
     3326#: bp-groups/bp-groups-admin.php:1015
    33193327#. translators: 1: user_login, 2: user_email
    33203328msgid "%1$s (%2$s)"
    33213329msgstr ""
    33223330
    3323 #: bp-groups/bp-groups-admin.php:1195
     3331#: bp-groups/bp-groups-admin.php:1199
    33243332msgid "No groups found."
    33253333msgstr ""
    33263334
    3327 #: bp-groups/bp-groups-admin.php:1268
     3335#: bp-groups/bp-groups-admin.php:1272
    33283336msgid "Public <span class=\"count\">(%s)</span>"
    33293337msgid_plural "Public <span class=\"count\">(%s)</span>"
     
    33313339msgstr[1] ""
    33323340
    3333 #: bp-groups/bp-groups-admin.php:1269
     3341#: bp-groups/bp-groups-admin.php:1273
    33343342msgid "Private <span class=\"count\">(%s)</span>"
    33353343msgid_plural "Private <span class=\"count\">(%s)</span>"
     
    33373345msgstr[1] ""
    33383346
    3339 #: bp-groups/bp-groups-admin.php:1270
     3347#: bp-groups/bp-groups-admin.php:1274
    33403348msgid "Hidden <span class=\"count\">(%s)</span>"
    33413349msgid_plural "Hidden <span class=\"count\">(%s)</span>"
     
    33433351msgstr[1] ""
    33443352
    3345 #: bp-groups/bp-groups-admin.php:1345
     3353#: bp-groups/bp-groups-admin.php:1349
    33463354msgid "Select group %1$d"
    33473355msgstr ""
     
    72747282msgstr ""
    72757283
    7276 #: bp-groups/bp-groups-admin.php:795
     7284#: bp-groups/bp-groups-admin.php:799
    72777285msgctxt "Group member user_id in group admin"
    72787286msgid "ID"
    72797287msgstr ""
    72807288
    7281 #: bp-groups/bp-groups-admin.php:796
     7289#: bp-groups/bp-groups-admin.php:800
    72827290msgctxt "Group member name in group admin"
    72837291msgid "Name"
    72847292msgstr ""
    72857293
    7286 #: bp-groups/bp-groups-admin.php:797
     7294#: bp-groups/bp-groups-admin.php:801
    72877295msgctxt "Group member role in group admin"
    72887296msgid "Group Role"
    72897297msgstr ""
    72907298
    7291 #: bp-groups/bp-groups-admin.php:1302
     7299#: bp-groups/bp-groups-admin.php:1306
    72927300msgctxt "Groups admin Group Name column header"
    72937301msgid "Name"
    72947302msgstr ""
    72957303
    7296 #: bp-groups/bp-groups-admin.php:1303
     7304#: bp-groups/bp-groups-admin.php:1307
    72977305msgctxt "Groups admin Group Description column header"
    72987306msgid "Description"
    72997307msgstr ""
    73007308
    7301 #: bp-groups/bp-groups-admin.php:1304
     7309#: bp-groups/bp-groups-admin.php:1308
    73027310msgctxt "Groups admin Privacy Status column header"
    73037311msgid "Status"
    73047312msgstr ""
    73057313
    7306 #: bp-groups/bp-groups-admin.php:1305
     7314#: bp-groups/bp-groups-admin.php:1309
    73077315msgctxt "Groups admin Members column header"
    73087316msgid "# Members"
    73097317msgstr ""
    73107318
    7311 #: bp-groups/bp-groups-admin.php:1306
     7319#: bp-groups/bp-groups-admin.php:1310
    73127320msgctxt "Groups admin Last Active column header"
    73137321msgid "Last Active"
Note: See TracChangeset for help on using the changeset viewer.