<commit_before>import 'page.dart';
import '../spaces.dart';
import '../actions.dart';

class DisclaimerPage extends Page {
  
  DisclaimerPage(PageContext context): super("disclaimer",context,25,75,false){
    description = "Mentions légales et conditions d'utilisation" ;
    layout.centerMoved.listen((_){
      updateNWPostion("#${name}NW");
    });
  }
  
  bool canBeLaunched(String login, bool isAdmin ) => true;
  
  bool canBeLaunchedFromMainMenu()=> false;
  
  void showPage( Parameters pageParameters) {
    super.showPage(pageParameters);
    header.title = description ;
    organizeSpaces();
    getAndShowElement("/f_legal_disclaimer", "#${name}NW");
    getAndShowElement("/f_legal_terms", "#${name}NE");
  }
}<commit_msg>Center the compass on disclaimer<commit_after>import 'page.dart';
import '../spaces.dart';
import '../actions.dart';

class DisclaimerPage extends Page {
  
  DisclaimerPage(PageContext context): super("disclaimer",context,50,75,false){
    description = "Mentions légales et conditions d'utilisation" ;
    layout.centerMoved.listen((_){
      updateNWPostion("#${name}NW");
    });
  }
  
  bool canBeLaunched(String login, bool isAdmin ) => true;
  
  bool canBeLaunchedFromMainMenu()=> false;
  
  void showPage( Parameters pageParameters) {
    super.showPage(pageParameters);
    header.title = description ;
    organizeSpaces();
    getAndShowElement("/f_legal_disclaimer", "#${name}NW");
    getAndShowElement("/f_legal_terms", "#${name}NE");
  }
}
{'fraction_non_alphanumeric': 0.14715719063545152, 'fraction_numerical': 0.005351170568561873, 'mean_word_length': 4.602996254681648, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7536280', 'n_tokens_mistral': 479, 'n_tokens_neox': 465, 'n_words': 88}