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 {
|
.about-sportspress-wrap .form-table th {
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
|
.about-sportspress-wrap .sp-top-translations {
|
||||||
|
float: right;
|
||||||
|
margin-left: 20px;
|
||||||
|
}
|
||||||
.about-sportspress-wrap .sp-top-translations .hndle {
|
.about-sportspress-wrap .sp-top-translations .hndle {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
padding: 8px 12px;
|
padding: 8px 12px;
|
||||||
@@ -972,8 +976,9 @@ table.sp-status-table td mark.yes {
|
|||||||
margin: -3px -7px -3px 10px;
|
margin: -3px -7px -3px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sportspress_page_sportspress-more iframe {
|
.about-sportspress-wrap .sp-top-translations {
|
||||||
/*padding-left: 0;*/
|
float: none;
|
||||||
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -985,6 +990,7 @@ table.sp-status-table td mark.yes {
|
|||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.about-sportspress-wrap .sp-badge {
|
.about-sportspress-wrap .sp-badge {
|
||||||
float: none;
|
float: none;
|
||||||
margin: 20px auto 10px;
|
margin: 20px auto 10px;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package SportsPress/Admin
|
* @package SportsPress/Admin
|
||||||
* @version 1.8.7
|
* @version 1.9.6
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
@@ -346,6 +346,12 @@ class SP_Admin_Welcome {
|
|||||||
<?php $this->intro(); ?>
|
<?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>
|
<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">
|
<p class="wp-credits-list">
|
||||||
<?php
|
<?php
|
||||||
$translators = array(
|
$translators = array(
|
||||||
@@ -547,12 +553,6 @@ class SP_Admin_Welcome {
|
|||||||
echo implode( '<br>', $translation_teams );
|
echo implode( '<br>', $translation_teams );
|
||||||
?>
|
?>
|
||||||
</p>
|
</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>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user