Skip to content

Commit

Permalink
Updated text for portfolio creation.
Browse files Browse the repository at this point in the history
See #3419.
  • Loading branch information
boonebgorges committed Aug 1, 2024
1 parent 3a69f1f commit ce8d2ce
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions wp-content/plugins/wds-citytech/includes/group-blogs.php
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,10 @@ class="form-control domain-validate"

<div id="noo_new_options">
<div id="noo_new_options-div" class="row">
<?php if ( 'portfolio' === $group_type ) : ?>
<p style="padding: 0 5px 10px 5px">Depending on the privacy settings you choose, your <?php echo esc_html( $group_label ); ?> URL may be publicly visible, so you may not wish to include your full name. Your <?php echo esc_html( $group_label ); ?> URL cannot be changed.</p>
<?php endif; ?>

<div class="radio col-sm-6">
<label>
<input type="radio" class="noo_radio" name="new_or_old" id="new_or_old_new" value="new" />
Expand Down
6 changes: 5 additions & 1 deletion wp-content/themes/openlab/buddypress/groups/create.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,16 @@
<div class="panel panel-default">
<div class="panel-heading semibold"><label for="group-name"><?php echo ucfirst($group_type); ?> Name <?php _e('(required)', 'buddypress') ?></label></div>
<div class="panel-body">
<?php if( 'course' == $group_type ) : ?>
<?php if ( 'course' === $group_type ) : ?>
<p class="ol-tooltip clone-course-tooltip" id="clone-course-tooltip-4">Please take a moment to consider the name of your new or cloned Course. We recommend keeping your Course Name under 50 characters. You can always change it later. We recommend the following format:</p>
<ul class="ol-tooltip" id="clone-course-tooltip-3">
<li>CourseCode CourseName, Semester Year</li>
<li>ARCH3522 NYC Arch, FA2013</li>
</ul>
<?php elseif ( 'portfolio' === $group_type ) : ?>
<?php $group_type_label = openlab_get_portfolio_label( 'case=upper&user_id=' . bp_loggedin_user_id() ); ?>
<p class="ol-tooltip">Depending on the privacy settings you choose, your <?php echo esc_html( $group_type_label ); ?> may be publicly visible, so you may not wish to include your full name. We recommend keeping your <?php echo esc_html( $group_type_label ) ?> name under 50 characters. You can change your <?php echo esc_html( $group_type_label ); ?> name at any time.</p>

<?php else : ?>
<p class="ol-tooltip">Please take a moment to consider the name of your <?php echo ucwords($group_type) ?>. Choosing a name that clearly identifies your <?php echo ucwords($group_type) ?> will make it easier for others to find your <?php echo ucwords($group_type) ?> profile. We recommend keeping your <?php echo ucwords($group_type) ?> name under 50 characters.</p>
<?php endif; ?>
Expand Down

0 comments on commit ce8d2ce

Please sign in to comment.