Float translations box
This commit is contained in:
@@ -863,6 +863,10 @@ table.sp-status-table td mark.yes {
|
||||
.about-sportspress-wrap .form-table th {
|
||||
width: auto;
|
||||
}
|
||||
.about-sportspress-wrap .sp-top-translations {
|
||||
float: right;
|
||||
margin-left: 20px;
|
||||
}
|
||||
.about-sportspress-wrap .sp-top-translations .hndle {
|
||||
font-size: 14px;
|
||||
padding: 8px 12px;
|
||||
@@ -972,8 +976,9 @@ table.sp-status-table td mark.yes {
|
||||
margin: -3px -7px -3px 10px;
|
||||
}
|
||||
|
||||
.sportspress_page_sportspress-more iframe {
|
||||
/*padding-left: 0;*/
|
||||
.about-sportspress-wrap .sp-top-translations {
|
||||
float: none;
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -985,6 +990,7 @@ table.sp-status-table td mark.yes {
|
||||
margin-right: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.about-sportspress-wrap .sp-badge {
|
||||
float: none;
|
||||
margin: 20px auto 10px;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* @author ThemeBoy
|
||||
* @category Admin
|
||||
* @package SportsPress/Admin
|
||||
* @version 1.8.7
|
||||
* @version 1.9.6
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||
@@ -346,6 +346,12 @@ class SP_Admin_Welcome {
|
||||
<?php $this->intro(); ?>
|
||||
|
||||
<p class="about-description"><?php printf( __( 'SportsPress has been kindly translated into several other languages thanks to our translation team. Want to see your name? <a href="%s">Translate SportsPress</a>.', 'sportspress' ), 'https://www.transifex.com/projects/p/sportspress/' ); ?></p>
|
||||
<div class="postbox sp-top-translations">
|
||||
<h3 class="hndle"><span><?php _e( 'Top Translations', 'sportspress' ); ?></span></h3>
|
||||
<p class="sp-transifex-chart">
|
||||
<a target="_blank" href="https://www.transifex.com/projects/p/sportspress"><img border="0" src="https://www.transifex.com/projects/p/sportspress/resource/sportspress/chart/image_png"/></a>
|
||||
</p>
|
||||
</div>
|
||||
<p class="wp-credits-list">
|
||||
<?php
|
||||
$translators = array(
|
||||
@@ -547,12 +553,6 @@ class SP_Admin_Welcome {
|
||||
echo implode( '<br>', $translation_teams );
|
||||
?>
|
||||
</p>
|
||||
<div class="postbox sp-top-translations">
|
||||
<h3 class="hndle"><span><?php _e( 'Top Translations', 'sportspress' ); ?></span></h3>
|
||||
<p class="sp-transifex-chart">
|
||||
<a target="_blank" href="https://www.transifex.com/projects/p/sportspress"><img border="0" src="https://www.transifex.com/projects/p/sportspress/resource/sportspress/chart/image_png"/></a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user